-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Incorrect versioning in labeling system
This error was due to lexographic tag ordering which messed up with SemVer labels.
- Loading branch information
1 parent
e4b25b2
commit 9c38021
Showing
8 changed files
with
128 additions
and
22 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
on: | ||
push: | ||
tags: | ||
- "v*-internal" | ||
|
||
jobs: | ||
changelog_job: | ||
runs-on: ubuntu-latest | ||
name: Changelog generator | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) | ||
- name: Changelog generation step | ||
uses: ./ | ||
id: changelog-generator | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-types: "fix:Bug Fixes,feat:Features,refactor:Refactoring" | ||
template-path: "CHANGELOG.tpl.md" | ||
current-tag: ${{ steps.get_version.outputs.VERSION }} | ||
tag-regex: "-internal" | ||
- name: Print version | ||
run: echo ${{ steps.get_version.outputs.VERSION }} | ||
- name: Print changelog | ||
run: echo "${{steps.changelog-generator.outputs.changelog}}" |
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
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,28 @@ | ||
on: | ||
push: | ||
tags: | ||
- "v*-release" | ||
|
||
jobs: | ||
changelog_job: | ||
runs-on: ubuntu-latest | ||
name: Changelog generator | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) | ||
- name: Changelog generation step | ||
uses: ./ | ||
id: changelog-generator | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-types: "fix:Bug Fixes,feat:Features,refactor:Refactoring" | ||
template-path: "CHANGELOG.tpl.md" | ||
current-tag: ${{ steps.get_version.outputs.VERSION }} | ||
tag-regex: "-release" | ||
- name: Print version | ||
run: echo ${{ steps.get_version.outputs.VERSION }} | ||
- name: Print changelog | ||
run: echo "${{steps.changelog-generator.outputs.changelog}}" |
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
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
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
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
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