Update version & tag
All checks were successful
Build Website / Build NPM Project (push) Successful in 19s
Build Website / Tag Version (push) Successful in 4s
Build Website / Build & Push Dockerfile (push) Successful in 37s

This commit is contained in:
Zakary Timson 2024-01-05 15:33:44 -05:00
parent 1217e86ac9
commit ec5c66a9c2
2 changed files with 18 additions and 1 deletions

View File

@ -26,6 +26,23 @@ jobs:
path: dist path: dist
retention-days: 7 retention-days: 7
tag:
name: Tag Version
needs: build
runs-on: ubuntu-latest
container: node
steps:
- name: Clone Repository
uses: ztimson/actions/clone@develop
- name: Get Version Number
run: echo "VERSION=$(cat package.json | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+')" >> $GITHUB_ENV
- name: Tag Version
uses: ztimson/actions/tag@develop
with:
tag: ${{env.VERSION}}
publish: publish:
name: Build & Push Dockerfile name: Build & Push Dockerfile
needs: build needs: build

View File

@ -1,6 +1,6 @@
{ {
"name": "zakscode", "name": "zakscode",
"version": "2.0.0", "version": "1.0.0",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {