Skip to content

Commit

Permalink
Updated ci scripts to allow for dev releases on other branches [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrossherron committed Jan 15, 2025
1 parent 0ae76db commit 63f84bb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion ci/Linux/scp-to-repo.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#! /bin/bash

REMOTE_PATH="update2/FEBioStudio2Dev/Linux/stage"
if [ $# == 1 ] && [ "$1" != "develop" ]; then
REMOTE_PATH="update2/FEBioStudio2Dev/branches/$1/Linux/stage"
fi

chmod +x cmbuild/bin/*
scp cmbuild/bin/* repo:~/update2/FEBioStudio2Dev/Linux/stage/bin
scp cmbuild/bin/* repo:~/$REMOTE_PATH/bin
8 changes: 7 additions & 1 deletion ci/Windows/scp-to-repo.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
#! /bin/bash
scp cmbuild/bin/Release/* repo:~/update2/FEBioStudio2Dev/Windows/stage/bin

REMOTE_PATH="update2/FEBioStudio2Dev/Windows/stage"
if [ $# == 1 ] && [ "$1" != "develop" ]; then
REMOTE_PATH="update2/FEBioStudio2Dev/branches/$1/Windows/stage"
fi

scp cmbuild/bin/Release/* repo:~/$REMOTE_PATH/bin
8 changes: 7 additions & 1 deletion ci/macOS/scp-to-repo.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#! /bin/bash

REMOTE_PATH="update2/FEBioStudio2Dev/macOS/stage"
if [ $# == 1 ] && [ "$1" != "develop" ]; then
REMOTE_PATH="update2/FEBioStudio2Dev/branches/$1/macOS/stage"
fi

chmod +x cmbuild/bin/FEBioStudio.app/Contents/MacOS/*
scp -r cmbuild/bin/FEBioStudio.app/Contents/MacOS/* repo:~/update2/FEBioStudio2Dev/macOS/stage/FEBioStudio.app/Contents/MacOS
scp -r cmbuild/bin/FEBioStudio.app/Contents/MacOS/* repo:~/$REMOTE_PATH/FEBioStudio.app/Contents/MacOS

0 comments on commit 63f84bb

Please sign in to comment.