-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix adding version code to pubspec.yaml
- Loading branch information
1 parent
a3acc0b
commit 01b0a47
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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' }} | ||
|