feat: support read site version from release tag
This commit is contained in:
@@ -35,6 +35,13 @@ jobs:
|
||||
run: ls dist/ -la
|
||||
working-directory: web/
|
||||
|
||||
- name: Get Release version
|
||||
id: get_version
|
||||
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Update Local Version File
|
||||
run: echo ${{ steps.get_version.outputs.VERSION }} > .release_version
|
||||
|
||||
- name: Install Go modules
|
||||
run: go mod tidy
|
||||
|
||||
|
||||
@@ -35,6 +35,13 @@ jobs:
|
||||
run: ls dist/ -la
|
||||
working-directory: web/
|
||||
|
||||
- name: Get Release version
|
||||
id: get_version
|
||||
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Update Local Version File
|
||||
run: echo ${{ steps.get_version.outputs.VERSION }} > .release_version
|
||||
|
||||
- name: Install Go modules
|
||||
run: go mod tidy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user