File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3434 run : pnpm lint
3535 - name : Determine version tag for build
3636 run : |
37- VERSION_TAG="v ${GITHUB_SHA:0:7}"
37+ VERSION_TAG="$(git tag --points-at HEAD | grep -E '^v?[0-9]+\.[0-9]+\.[0-9]+' | sort -V | tail -n1)- ${GITHUB_SHA:0:7}"
3838 echo "VITE_STUDIO_VERSION=$VERSION_TAG" >> $GITHUB_ENV
3939 - name : Build dev
4040 run : pnpm build:dev
4747 mv web deploy/
4848 cd deploy
4949 echo "{}" > package.json
50- CLI_TARGET_USERNAME=${{ secrets.CLI_TARGET_USERNAME_DEV }} CLI_TARGET_PASSWORD='${{ secrets.HARPERDB_CLI_TARGET_PASSWORD_DEV }}' harperdb deploy project='hdbms' target='${{ secrets.CLI_DEPLOY_TARGET_DEV }}' restart=true
50+ CLI_TARGET_USERNAME=${{ secrets.CLI_TARGET_USERNAME_DEV }} CLI_TARGET_PASSWORD='${{ secrets.HARPERDB_CLI_TARGET_PASSWORD_DEV }}' harperdb deploy project='hdbms' target='${{ secrets.CLI_DEPLOY_TARGET_DEV }}' restart=false
You can’t perform that action at this time.
0 commit comments