diff --git a/.github/workflows/json-master.yml b/.github/workflows/json-master.yml index 525989d..523f28c 100644 --- a/.github/workflows/json-master.yml +++ b/.github/workflows/json-master.yml @@ -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 diff --git a/json-backups/update.sh b/json-backups/update.sh index c063eb6..89fed9c 100755 --- a/json-backups/update.sh +++ b/json-backups/update.sh @@ -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