mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Fix release paths
This commit is contained in:
parent
f5ab76186a
commit
00ed9816e3
@ -55,15 +55,13 @@ release_job:
|
|||||||
- apt install -y sshpass ssh curl
|
- apt install -y sshpass ssh curl
|
||||||
- curl --location --output /usr/local/bin/release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64"
|
- curl --location --output /usr/local/bin/release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64"
|
||||||
- chmod +x /usr/local/bin/release-cli
|
- chmod +x /usr/local/bin/release-cli
|
||||||
- release-cli -v
|
|
||||||
- ssh-keyscan 91.204.46.10 >> ~/.ssh/known_hosts
|
- ssh-keyscan 91.204.46.10 >> ~/.ssh/known_hosts
|
||||||
- sshpass -p $GETSP_PASSWORD ssh $GETSP_USERNAME@91.204.46.10 "rm -rf /getsp.de/$CI_COMMIT_TAG; mkdir /getsp.de/$CI_COMMIT_TAG;"
|
- sshpass -p $GETSP_PASSWORD ssh $GETSP_USERNAME@91.204.46.10 "rm -rf /getsp.de/httpdocs/releases/$CI_COMMIT_TAG; mkdir /getsp.de/httpdocs/releases/$CI_COMMIT_TAG;"
|
||||||
# 3. Upload files to the remote folder
|
# 3. Upload files to the remote folder
|
||||||
- echo "Uploading files"
|
- sshpass -p $GETSP_PASSWORD scp build-x64-linux-release/ScreenPlay-$CI_COMMIT_TAG-x64-linux-release.zip $GETSP_USERNAME@91.204.46.10:/getsp.de/httpdocs/releases/$CI_COMMIT_TAG/
|
||||||
- sshpass -p $GETSP_PASSWORD scp build-x64-linux-release/ScreenPlay-$CI_COMMIT_TAG-x64-linux-release.zip $GETSP_USERNAME@91.204.46.10:/getsp.de/$CI_COMMIT_TAG/
|
- sshpass -p $GETSP_PASSWORD scp build-x64-windows-release/ScreenPlay-$CI_COMMIT_TAG-x64-windows-release.zip $GETSP_USERNAME@91.204.46.10:/getsp.de/httpdocs/releases/$CI_COMMIT_TAG/
|
||||||
- sshpass -p $GETSP_PASSWORD scp build-x64-windows-release/ScreenPlay-$CI_COMMIT_TAG-x64-windows-release.zip $GETSP_USERNAME@91.204.46.10:/getsp.de/$CI_COMMIT_TAG/
|
- sshpass -p $GETSP_PASSWORD scp build-64-osx-universal-release/ScreenPlay-$CI_COMMIT_TAG-64-osx-universal-release.zip $GETSP_USERNAME@91.204.46.10:/getsp.de/httpdocs/releases/$CI_COMMIT_TAG/
|
||||||
- sshpass -p $GETSP_PASSWORD scp build-64-osx-universal-release/ScreenPlay-$CI_COMMIT_TAG-64-osx-universal-release.zip $GETSP_USERNAME@91.204.46.10:/getsp.de/$CI_COMMIT_TAG/
|
- sshpass -p $GETSP_PASSWORD scp SHA512-SUMS.txt $GETSP_USERNAME@91.204.46.10:/getsp.de/httpdocs/releases/$CI_COMMIT_TAG/
|
||||||
- sshpass -p $GETSP_PASSWORD scp SHA512-SUMS.txt $GETSP_USERNAME@91.204.46.10:/getsp.de/$CI_COMMIT_TAG/
|
|
||||||
release:
|
release:
|
||||||
tag_name: $CI_COMMIT_TAG
|
tag_name: $CI_COMMIT_TAG
|
||||||
name: "ScreenPlay $CI_COMMIT_TAG Released!"
|
name: "ScreenPlay $CI_COMMIT_TAG Released!"
|
||||||
@ -71,10 +69,10 @@ release_job:
|
|||||||
assets:
|
assets:
|
||||||
links:
|
links:
|
||||||
- name: 🐧 Linux x64 build
|
- name: 🐧 Linux x64 build
|
||||||
url: "https://getsp.de/$CI_COMMIT_TAG/ScreenPlay-$CI_COMMIT_TAG-x64-linux-release.zip"
|
url: "https://getsp.de/releases/$CI_COMMIT_TAG/ScreenPlay-$CI_COMMIT_TAG-x64-linux-release.zip"
|
||||||
- name: 🪟 Windows x64 build
|
- name: 🪟 Windows x64 build
|
||||||
url: "https://getsp.de/$CI_COMMIT_TAG/ScreenPlay-$CI_COMMIT_TAG-x64-windows-release.zip"
|
url: "https://getsp.de/releases/$CI_COMMIT_TAG/ScreenPlay-$CI_COMMIT_TAG-x64-windows-release.zip"
|
||||||
- name: 🍏 OSX universal build
|
- name: 🍏 OSX universal build
|
||||||
url: "https://getsp.de/$CI_COMMIT_TAG/ScreenPlay-$CI_COMMIT_TAG-64-osx-universal-release.zip"
|
url: "https://getsp.de/releases/$CI_COMMIT_TAG/ScreenPlay-$CI_COMMIT_TAG-64-osx-universal-release.zip"
|
||||||
- name: ℹ️ SHA512-SUMS.txt
|
- name: ℹ️ SHA512-SUMS.txt
|
||||||
url: "https://getsp.de/$CI_COMMIT_TAG/SHA512-SUMS.txt"
|
url: "https://getsp.de/releases/$CI_COMMIT_TAG/SHA512-SUMS.txt"
|
||||||
|
Loading…
Reference in New Issue
Block a user