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 add .
git commit -am "Atlassian JSON autoupdated" git commit -am "Atlassian JSON autoupdated"
git push git push
- name: Commit and push changes
uses: devops-infra/action-commit-push@master # - name: Commit and push changes
with: # uses: devops-infra/action-commit-push@master
github_token: ${{ secrets.GHT }} # with:
commit_message: Atlassian JSON updated # github_token: ${{ secrets.GHT }}
# commit_message: Atlassian JSON updated
# - name: Create Release # - name: Create Release
# id: 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 wget -c -nv --random-wait -P $PWD/current/ https://my.atlassian.com/download/feeds/current/jira-servicedesk.json
# SourceTree # 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 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 # 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 wget -c -nv --random-wait -P $PWD/archived/ https://my.atlassian.com/download/feeds/archived/jira-servicedesk.json
# SourceTree # SourceTree
echo "Generating sourcetree.json for arvhive release"
echo "-----------------------------------------------"
dotnet script $PWD/sourcetreeapp-archive.csx dotnet script $PWD/sourcetreeapp-archive.csx
echo "-----------------------------------------------"
touch $PWD/archived/sourcetree.json touch $PWD/archived/sourcetree.json
dotnet script $PWD/sourcetreeapp-archive.csx > $PWD/archived/sourcetree.json dotnet script $PWD/sourcetreeapp-archive.csx > $PWD/archived/sourcetree.json