Skip to content

Commit cad57d1

Browse files
committed
Also push tags to master
1 parent 17a5023 commit cad57d1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build-linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- name: Build application for linux
2424
run: |
2525
# ninja-build
26+
sudo apt update
2627
sudo apt install -y pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev --no-install-recommends
2728
flutter build linux --release
2829
cd flatpak/scripts

.github/workflows/bump-version.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0 # needed to push changes
19+
token: ${{ secrets.GITHUB_TOKEN }}
1920

2021
- name: Common flutter setup
2122
uses: ./.github/actions/flutter-common
@@ -38,11 +39,11 @@ jobs:
3839
NEXT_BUILD=$(( (CURRENT_BUILD / 10 + 1) * 10 ))
3940
flutter pub run cider version ${{ inputs.app_version }}+${NEXT_BUILD}
4041
41-
- name: Commit pubspec
42+
- name: Tag release and commit pubspec
4243
run: |
4344
git config user.name Github-Actions
4445
git config user.email [email protected]
4546
git add pubspec.yaml
4647
git tag ${{ inputs.app_version }}
4748
git commit -m "Bump version to $( flutter pub run cider version )"
48-
git push origin HEAD:master
49+
git push origin HEAD:master --tags

0 commit comments

Comments
 (0)