mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 18:37:05 +08: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
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…
x
Reference in New Issue
Block a user