Also push tags to master

This commit is contained in:
Roland Geider
2025-04-05 17:34:46 +02:00
parent 17a50231cc
commit cad57d1986
2 changed files with 4 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ jobs:
- name: Build application for linux
run: |
# ninja-build
sudo apt update
sudo apt install -y pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev --no-install-recommends
flutter build linux --release
cd flatpak/scripts

View File

@@ -16,6 +16,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # needed to push changes
token: ${{ secrets.GITHUB_TOKEN }}
- name: Common flutter setup
uses: ./.github/actions/flutter-common
@@ -38,11 +39,11 @@ jobs:
NEXT_BUILD=$(( (CURRENT_BUILD / 10 + 1) * 10 ))
flutter pub run cider version ${{ inputs.app_version }}+${NEXT_BUILD}
- name: Commit pubspec
- name: Tag release and commit pubspec
run: |
git config user.name Github-Actions
git config user.email github-actions@github.com
git add pubspec.yaml
git tag ${{ inputs.app_version }}
git commit -m "Bump version to $( flutter pub run cider version )"
git push origin HEAD:master
git push origin HEAD:master --tags