mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 05:45:10 +00:00
ci: Fix snapcraft promote rc job
This commit is contained in:
parent
56472d63a3
commit
cad33f0248
1 changed files with 1 additions and 2 deletions
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
@ -160,8 +160,7 @@ jobs:
|
|||
run: sudo apt-get update && sudo apt-get install -y expect
|
||||
- name: Promote Snap
|
||||
run: |
|
||||
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
||||
if [ "$RELEASE_TYPE" = "rc" ]; then
|
||||
if [[ $GITHUB_REF_NAME == rc* ]]; then
|
||||
expect -c "
|
||||
spawn snapcraft promote fluffychat --from-channel edge --to-channel candidate
|
||||
expect \"Do you want to promote the current set to the 'candidate' channel? [y/N]:\"
|
||||
|
|
Loading…
Reference in a new issue