Skip to content

Commit

Permalink
chore: fix adding version code to pubspec.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
blockbasti committed Feb 9, 2021
1 parent a3acc0b commit 01b0a47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
release-count: 0
skip-on-empty: 'true'
skip-version-file: 'false'
skip-commit: 'false'
skip-commit: 'true'

- name: Write versioncode to pubspec.yml
run: |
Expand All @@ -48,14 +48,14 @@ jobs:
CHANGELOG: ${{ steps.changelog.outputs.changelog }}
run: echo $CHANGELOG > fastlane/metadata/android/en-US/changelogs/$(printf '%(%Y%m%d)T\n' -1).txt

- name: Commit fastlane changelog
- name: Commit changed files
if: ${{ steps.changelog.outputs.skipped == 'false' }}
uses: EndBug/add-and-commit@v7
with:
author_name: Bastian Block
author_email: [email protected]
message: 'chore: write changelog to fastlane'
add: "['fastlane/metadata/android/en-US/changelogs/*.txt', 'pubspec.yaml']"
message: 'chore: commit files during release'
add: "['fastlane/metadata/android/en-US/changelogs/*.txt', 'pubspec.yaml', 'CHANGELOG.md']"

- name: Build APKs
if: ${{ steps.changelog.outputs.skipped == 'false' }}
Expand Down

0 comments on commit 01b0a47

Please sign in to comment.