mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
ci: Fix snap promote to correct channel
This commit is contained in:
parent
4d7d5bf181
commit
ce1159692f
1 changed files with 1 additions and 2 deletions
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
@ -182,8 +182,7 @@ jobs:
|
||||||
env: # Workaround for https://github.com/snapcore/snapcraft/issues/4439
|
env: # Workaround for https://github.com/snapcore/snapcraft/issues/4439
|
||||||
SNAPCRAFT_HAS_TTY: "true"
|
SNAPCRAFT_HAS_TTY: "true"
|
||||||
run: |
|
run: |
|
||||||
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
if [[ $GITHUB_REF_NAME == rc* ]]; then
|
||||||
if [ "$RELEASE_TYPE" = "rc" ]; then
|
|
||||||
yes | snapcraft promote fluffychat --from-channel edge --to-channel candidate
|
yes | snapcraft promote fluffychat --from-channel edge --to-channel candidate
|
||||||
else
|
else
|
||||||
yes | snapcraft promote fluffychat --from-channel edge --to-channel stable
|
yes | snapcraft promote fluffychat --from-channel edge --to-channel stable
|
||||||
|
|
Loading…
Reference in a new issue