This commit is contained in:
stam 2021-01-17 02:46:18 +03:00
parent de229d76f0
commit 3d88e9b54c
2 changed files with 14 additions and 7 deletions

View File

@ -44,11 +44,12 @@ jobs:
git add .
git commit -am "Atlassian JSON autoupdated"
git push
- name: Commit and push changes
uses: devops-infra/action-commit-push@master
with:
github_token: ${{ secrets.GHT }}
commit_message: Atlassian JSON updated
# - name: Commit and push changes
# uses: devops-infra/action-commit-push@master
# with:
# github_token: ${{ secrets.GHT }}
# commit_message: Atlassian JSON updated
# - name: Create Release
# id: create_release

View File

@ -36,9 +36,12 @@ wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/fee
wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira-servicedesk.json
# SourceTree
dotnet script $PWD/sourcetreeapp-archive.csx
echo "Generating sourcetree.json for current release"
echo "-----------------------------------------------"
dotnet script $PWD/sourcetreeapp.csx
echo "-----------------------------------------------"
touch $PWD/current/sourcetree.json
dotnet script $PWD/sourcetreeapp-archive.csx > $PWD/current/sourcetree.json
dotnet script $PWD/sourcetreeapp.csx > $PWD/current/sourcetree.json
###################################################################################################
# Archived links
@ -69,7 +72,10 @@ wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/fe
wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira-servicedesk.json
# SourceTree
echo "Generating sourcetree.json for arvhive release"
echo "-----------------------------------------------"
dotnet script $PWD/sourcetreeapp-archive.csx
echo "-----------------------------------------------"
touch $PWD/archived/sourcetree.json
dotnet script $PWD/sourcetreeapp-archive.csx > $PWD/archived/sourcetree.json