mirror of
https://github.com/XLabsProject/iw6x-client.git
synced 2023-08-02 15:02:12 +02:00
Fix normalized version references.
This commit is contained in:
parent
5b16d1245e
commit
ff5afca7b9
20
.github/workflows/draft-new-release.yml
vendored
20
.github/workflows/draft-new-release.yml
vendored
@ -35,19 +35,19 @@ jobs:
|
||||
gpg-private-key: ${{ secrets.XLABS_CI_GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.XLABS_CI_GPG_PASSPHRASE }}
|
||||
|
||||
- name: Create branch release/${{ steps.normalize-version.outputs.version }}
|
||||
run: git checkout -b "release/${{ steps.normalize-version.outputs.version }}"
|
||||
- name: Create branch release/${{ steps.normalize_version.outputs.version }}
|
||||
run: git checkout -b "release/${{ steps.normalize_version.outputs.version }}"
|
||||
|
||||
- name: Rename Unreleased section in changelog to ${{ steps.normalize-version.outputs.version }}
|
||||
- name: Rename Unreleased section in changelog to ${{ steps.normalize_version.outputs.version }}
|
||||
uses: thomaseizinger/keep-a-changelog-new-release@1.1.0
|
||||
with:
|
||||
version: ${{ steps.normalize-version.outputs.version }}
|
||||
version: ${{ steps.normalize_version.outputs.version }}
|
||||
|
||||
- name: Commit changelog
|
||||
id: make-commit
|
||||
run: |
|
||||
git add CHANGELOG.md
|
||||
git commit -m "Prepare release ${{ steps.normalize-version.outputs.version }}"
|
||||
git commit -m "Prepare release ${{ steps.normalize_version.outputs.version }}"
|
||||
|
||||
echo "::set-output name=commit::$(git rev-parse HEAD)"
|
||||
|
||||
@ -56,7 +56,7 @@ jobs:
|
||||
uses: mindsers/changelog-reader-action@v2
|
||||
with:
|
||||
validation_depth: 10
|
||||
version: ${{ steps.normalize-version.outputs.version }}
|
||||
version: ${{ steps.normalize_version.outputs.version }}
|
||||
path: ./CHANGELOG.md
|
||||
|
||||
- name: Create Pull Request
|
||||
@ -65,17 +65,17 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
delete-branch: true
|
||||
branch: "release/${{ steps.normalize-version.outputs.version }}"
|
||||
branch: "release/${{ steps.normalize_version.outputs.version }}"
|
||||
body: |
|
||||
This Pull Request is for the release of IW6x ${{ steps.normalize-version.outputs.version }} and was [automatically created by a workflow](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) triggered by @${{ github.actor }}.
|
||||
This Pull Request is for the release of IW6x ${{ steps.normalize_version.outputs.version }} and was [automatically created by a workflow](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) triggered by @${{ github.actor }}.
|
||||
|
||||
Commit ${{ steps.make-commit.outputs.commit }} includes an update to the changelog to list the new version with its changes.
|
||||
|
||||
# What happens when this PR gets merged?
|
||||
|
||||
After merging this PR, another workflow will create a new tag `${{ steps.normalize-version.outputs.version }}` on the `master` branch and the version will officially be {{ steps.changelog_reader.outputs.status }} via an actual GitHub release. A final build will be triggered and all binaries and assets will be attached to the GitHub release.
|
||||
After merging this PR, another workflow will create a new tag `${{ steps.normalize_version.outputs.version }}` on the `master` branch and the version will officially be {{ steps.changelog_reader.outputs.status }} via an actual GitHub release. A final build will be triggered and all binaries and assets will be attached to the GitHub release.
|
||||
|
||||
# Changelog for ${{ steps.normalize-version.outputs.version }}
|
||||
# Changelog for ${{ steps.normalize_version.outputs.version }}
|
||||
|
||||
These changes will be included in the release:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user