Try to figure out why the version is getting empty string
This commit is contained in:
parent
57f9c347ff
commit
2eeeae9eef
1 changed files with 22 additions and 19 deletions
|
|
@ -9,32 +9,35 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm clean-install
|
run: npm clean-install
|
||||||
|
|
||||||
|
- name: List files
|
||||||
|
run: ls -al
|
||||||
|
|
||||||
- name: Extract version from manifest
|
- name: Extract version from manifest
|
||||||
id: version
|
id: version
|
||||||
run: cat system.json | echo version=`jq -r ".version"` >> "$FORGEJO_OUTPUT"
|
run: cat system.json | echo version=`jq -r ".version"`
|
||||||
|
|
||||||
- name: Assert that the tag doesn't exist
|
# - name: Assert that the tag doesn't exist
|
||||||
run: node scripts/tagExists.mjs
|
# run: node scripts/tagExists.mjs
|
||||||
env:
|
# env:
|
||||||
TAG_NAME: ${{steps.version.output.version}}
|
# TAG_NAME: ${{steps.version.output.version}}
|
||||||
|
|
||||||
- name: Build compendia
|
# - name: Build compendia
|
||||||
run: "npm run data:build"
|
# run: "npm run data:build"
|
||||||
|
|
||||||
- name: Remove compendia source
|
# - name: Remove compendia source
|
||||||
run: "rm -rf packs/**/_source"
|
# run: "rm -rf packs/**/_source"
|
||||||
|
|
||||||
- name: Compress files
|
# - name: Compress files
|
||||||
run: zip -r release.zip langs module styles templates README.md assets
|
# run: zip -r release.zip langs module styles templates README.md assets
|
||||||
|
|
||||||
- name: Upload artifacts
|
# - name: Upload artifacts
|
||||||
uses: https://data.forgejo.org/forgejo/upload-artifact@v4
|
# uses: https://data.forgejo.org/forgejo/upload-artifact@v4
|
||||||
with:
|
# with:
|
||||||
path: |
|
# path: |
|
||||||
system.json
|
# system.json
|
||||||
release.zip
|
# release.zip
|
||||||
retention-days: 7
|
# retention-days: 7
|
||||||
if-no-files-found: error
|
# if-no-files-found: error
|
||||||
|
|
||||||
|
|
||||||
forgejo-release:
|
forgejo-release:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue