ci: tag as a separate step

This commit is contained in:
Jacky Zhao 2024-02-23 19:04:38 -08:00
parent d0c0daa4aa
commit c53fd5b56f

View file

@ -46,6 +46,12 @@ jobs:
- name: Ensure Quartz builds, check bundle info
run: npx quartz build --bundleInfo
publish-tag:
if: ${{ github.repository == 'jackyzha0/quartz' }}
run-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV