1
0
mirror of https://github.com/XFox111/easylogon-web.git synced 2026-07-02 19:52:45 +03:00

chore(ci): pipeline now pulls the version from release tag

This commit is contained in:
2025-12-11 02:30:20 +00:00
parent 13e24ffdb9
commit 2820bf833f
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -16,10 +16,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- uses: zoexx/github-action-json-file-properties@release - name: Update the version
id: package_json if: startsWith(github.ref, 'refs/tags/')
with: run: |
file_path: "package.json" sed -i 's|"version": "0.0.0"|"version": "${{ github.ref_name }}"|' package.json
- uses: docker/metadata-action@v5 - uses: docker/metadata-action@v5
id: meta id: meta
@@ -29,7 +29,7 @@ jobs:
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
tags: | tags: |
latest latest
${{ steps.package_json.outputs.version }} ${{ github.ref_name }}
- name: "Login to Docker Hub" - name: "Login to Docker Hub"
uses: docker/login-action@v3 uses: docker/login-action@v3
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "easylogon-web", "name": "easylogon-web",
"private": true, "private": true,
"version": "2.0.7", "version": "0.0.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",