-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
16 additions
and
14 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 |
---|---|---|
|
@@ -33,7 +33,11 @@ jobs: | |
- name: Increment version and assemble changelog | ||
run: | | ||
nix-build -A autoVersion | ||
version=$(result/bin/auto-version .) | ||
version=$(result/bin/auto-version . ${{ github.event.pull_request.number || '' }}) | ||
git commit --all --message "Version $version | ||
Automated release" | ||
echo "version=$version" >> "$GITHUB_ENV" | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
|
@@ -44,13 +48,7 @@ jobs: | |
|
||
- name: Update release branch | ||
if: ${{ env.version && github.event_name == 'push' }} | ||
run: | | ||
git config user.name infinixbot | ||
git config user.email [email protected] | ||
git commit --all --message 'Version ${{ env.version }} | ||
Automated release' | ||
git push origin HEAD:release | ||
run: git push origin HEAD:release | ||
|
||
|
||
test-update: | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Add changelog | ||
|
||
This is just a test to show that changelogs are actually used! |
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