Skip to content

Commit

Permalink
chore(ci): update release upload scripts
Browse files Browse the repository at this point in the history
- manual snapshots
- release publish script

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Jun 16, 2024
1 parent f5504cf commit 9e0e991
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ci/azure-pipelines/publish_manual_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ steps:
srcdir=$(system.defaultworkingdirectory)/build/docs/manual/
dest=$(SOURCEFORGE_FILE_USER)@frs.sourceforge.net
destdir=/home/project-web/omegat/htdocs/manual-snapshot/
echo "mkdir $destdir" | SSHPASS=$(SOURCEFORGE_FILE_PASS) sshpass -e sftp -v $dest || true
SSHPASS=$(SOURCEFORGE_FILE_PASS) sshpass -e scp -v -r -oStrictHostKeyChecking=no $srcdir/* $dest:$destdir
echo "mkdir $destdir" | SSHPASS=$(SOURCEFORGE_FILE_PASS) sshpass -e sftp -oStrictHostKeyChecking=no $dest || true
SSHPASS=$(SOURCEFORGE_FILE_PASS) sshpass -e scp -s -oStrictHostKeyChecking=no $srcdir/* $dest:$destdir
5 changes: 2 additions & 3 deletions ci/azure-pipelines/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ steps:
srcdir=$(system.defaultworkingdirectory)/build/distributions/
dest=$(SOURCEFORGE_FILE_USER)@frs.sourceforge.net
destdir="/home/frs/project/omegat/OmegaT\\ -\\ Latest/OmegaT\\ ${{ parameters.omegatVersion }}/"
echo "mkdir $destdir" | SSHPASS=$(SOURCEFORGE_FILE_PASS) sshpass -e sftp -v $dest || true
SSHPASS=$(SOURCEFORGE_FILE_PASS) sshpass -e scp -p -s -oStrictHostKeyChecking=no $srcdir/* "$dest:$destdir"
echo "mkdir $destdir" | SSHPASS=$(SOURCEFORGE_FILE_PASS) sshpass -e sftp -oStrictHostKeyChecking=no $dest || true
SSHPASS=$(SOURCEFORGE_FILE_PASS) sshpass -e scp -s -oStrictHostKeyChecking=no $srcdir/* "$dest:$destdir"

0 comments on commit 9e0e991

Please sign in to comment.