forked from musescore/MuseScore
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
14 changed files
with
75 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.github/workflows/ci_vtests.yml → .github/workflows/check_visual_tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI_vtests | ||
name: 'Check: Visual Tests (vtests)' | ||
|
||
on: | ||
pull_request: | ||
|
2 changes: 1 addition & 1 deletion
2
.github/workflows/ci_lupdate.yml → ...b/workflows/translate_lupdate_tx_push.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.github/workflows/ci_tx2s3.yml → ...hub/workflows/translate_tx_pull_to_s3.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI_Run_tx2s3 | ||
name: 'Translate: tx pull translations to S3' | ||
|
||
on: | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,10 +34,10 @@ if [[ "$OS" == "linux" || "$OS" == "windows" || "$OS" == "macos" ]]; then OS_IS_ | |
if [ "$OS_IS_VALID" == "0" ]; then echo "error: Not valid OS: $OS, allowed: 'linux', 'windows', 'macos'"; exit 1; fi | ||
|
||
BUILD_DIR="" | ||
if [ "$BUILD_MODE" == "nightly_build" ]; then BUILD_DIR="nightly"; else | ||
if [ "$BUILD_MODE" == "testing_build" ]; then BUILD_DIR="testing"; else | ||
if [ "$BUILD_MODE" == "stable_build" ]; then BUILD_DIR="stable"; else | ||
echo "error: Not valid BUILD_MODE: $BUILD_MODE, allowed: 'nightly_build', 'testing_build', 'stable_build'"; exit 1; | ||
if [ "$BUILD_MODE" == "nightly" ]; then BUILD_DIR="nightly"; else | ||
if [ "$BUILD_MODE" == "testing" ]; then BUILD_DIR="testing"; else | ||
if [ "$BUILD_MODE" == "stable" ]; then BUILD_DIR="stable"; else | ||
echo "error: Not valid BUILD_MODE: $BUILD_MODE, allowed: 'nightly', 'testing', 'stable'"; exit 1; | ||
fi fi fi | ||
|
||
if [ -z "$ARTIFACT_NAME" ]; then echo "error: not set ARTIFACT_NAME"; exit 1; fi | ||
|
@@ -69,9 +69,9 @@ if [ "$OS" == "linux" ]; then | |
if [ -f "$ARTIFACTS_DIR/${ARTIFACT_NAME}.zsync" ]; then | ||
echo "Copy ${ARTIFACTS_DIR}/${ARTIFACT_NAME}.zsync to $FTP_PATH" | ||
scp -oStrictHostKeyChecking=no -C -i $SSH_KEY $ARTIFACTS_DIR/${ARTIFACT_NAME}.zsync [email protected]:~/ftp/$FTP_PATH | ||
if [ "$BUILD_MODE" == "stable_build" ]; then | ||
if [ "$BUILD_MODE" == "stable" ]; then | ||
: # Do nothing. zsync file is in the right place on OSUOSL, but don't forget to upload it to GitHub Releases with the AppImage. | ||
elif [ "$BUILD_MODE" == "nightly_build" ]; then | ||
elif [ "$BUILD_MODE" == "nightly" ]; then | ||
# zsync file must be available at stable URL. We don't need historic versions of this file so overwrite previous 'latest' zsync. | ||
ssh -i $SSH_KEY [email protected] "cd ~/ftp/$FTP_PATH; mv -f ${ARTIFACT_NAME}.zsync ${LATEST_NAME}.zsync" | ||
fi | ||
|
@@ -83,13 +83,13 @@ echo $PUBLISH_URL > $ARTIFACTS_DIR/env/publish_url.env | |
cat $ARTIFACTS_DIR/env/publish_url.env | ||
|
||
# Create link to latest | ||
if [ "$BUILD_MODE" == "nightly_build" ]; then | ||
if [ "$BUILD_MODE" == "nightly" ]; then | ||
echo "Create/update link to latest" | ||
ssh -i $SSH_KEY [email protected] "cd ~/ftp/$FTP_PATH; ln -sf $ARTIFACT_NAME $LATEST_NAME" | ||
fi | ||
|
||
# Delete old files | ||
if [ "$BUILD_MODE" == "nightly_build" ]; then | ||
if [ "$BUILD_MODE" == "nightly" ]; then | ||
echo "Delete old MuseScoreNightly files" | ||
number_to_keep=42 # includes the one we just uploaded and the symlink to it | ||
if [ "$OS" == "linux" ]; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.