mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Also push tags to master
This commit is contained in:
1
.github/workflows/build-linux.yml
vendored
1
.github/workflows/build-linux.yml
vendored
@@ -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
|
||||
|
||||
5
.github/workflows/bump-version.yml
vendored
5
.github/workflows/bump-version.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user