mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
build: Mark non-release version
to make debugging in foreign environments easier if theme is installed as a submodule
This commit is contained in:
parent
8be8992771
commit
5730f843d2
1 changed files with 12 additions and 0 deletions
12
.github/actions/release_milestone/action.yaml
vendored
12
.github/actions/release_milestone/action.yaml
vendored
|
@ -63,3 +63,15 @@ runs:
|
||||||
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
|
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
|
||||||
run: |
|
run: |
|
||||||
npx github-release-notes@0.17.1 release --tags "$MILESTONE"
|
npx github-release-notes@0.17.1 release --tags "$MILESTONE"
|
||||||
|
|
||||||
|
- name: Update version number to mark non-release version
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
MILESTONE: ${{ inputs.milestone }}
|
||||||
|
GITHUB_TOKEN: ${{ inputs.github_token }}
|
||||||
|
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
|
||||||
|
run: |
|
||||||
|
echo "$MILESTONE+next" > layouts/partials/version.html
|
||||||
|
git add *
|
||||||
|
git commit --message "Ship tag $MILESTONE"
|
||||||
|
git push origin main
|
||||||
|
|
Loading…
Reference in a new issue