This commit is contained in:
stam 2021-01-17 02:36:23 +03:00
parent 1ed5f22b7c
commit cfd51b4251
2 changed files with 12 additions and 2 deletions

View File

@ -33,6 +33,9 @@ jobs:
git config --global user.email "stamepicmorg@users.noreply.github.com"
- name: Update files
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
run: |
cd json-backups
ls -las

View File

@ -1,4 +1,7 @@
#!/bin/bash
export DOTNET_CLI_TELEMETRY_OPTOUT=true
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
rm -rfv $PWD/current $PWD/archived $PWD/eap
mkdir -p $PWD/current $PWD/archived $PWD/eap
@ -33,7 +36,9 @@ 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 sourcetreeapp-archive.csx > $PWD/current/sourcetree.json
dotnet script $PWD/sourcetreeapp-archive.csx
touch $PWD/current/sourcetree.json
dotnet script $PWD/sourcetreeapp-archive.csx > $PWD/current/sourcetree.json
###################################################################################################
# Archived links
@ -64,7 +69,9 @@ 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
dotnet script sourcetreeapp-archive.csx > $PWD/archived/sourcetree.json
dotnet script $PWD/sourcetreeapp-archive.csx
touch $PWD/archived/sourcetree.json
dotnet script $PWD/sourcetreeapp-archive.csx > $PWD/archived/sourcetree.json
###################################################################################################
# EAP links