build: Bump version

This commit is contained in:
krille-chan 2023-09-17 09:59:41 +02:00
commit accf15c6e8
No known key found for this signature in database
3 changed files with 5 additions and 25 deletions

View file

@ -146,27 +146,3 @@ jobs:
bundle exec fastlane deploy_release
fi
cd ..
promote_snapcraft:
runs-on: ubuntu-latest
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
- name: Install expect
run: sudo apt-get update && sudo apt-get install -y expect
- name: Promote Snap
run: |
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]:\"
send \"y\r\"
expect eof
"
else
snapcraft promote fluffychat --from-channel candidate --to-channel stable --yes
fi