From cad57d1986f5538f293f3fb5498c5e813b6e15de Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Sat, 5 Apr 2025 17:34:46 +0200 Subject: [PATCH] Also push tags to master --- .github/workflows/build-linux.yml | 1 + .github/workflows/bump-version.yml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 18def0af..56491a45 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -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 diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 77046805..a6ac71e2 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -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