Skip to content
Snippets Groups Projects
Commit b2fa3dd3 authored by Jacopo Gasparetto's avatar Jacopo Gasparetto
Browse files

fix(ci-cd): version.txt not found

parent 3bfbbe0a
No related branches found
Tags v0.2.0-dev.2
1 merge request!5feat(ci-cd): add semantic versioning to frontend package
Pipeline #99979 passed
......@@ -58,9 +58,9 @@ build-frontend:
image: node:19-slim
before_script:
- apt update && apt install -y jq
- VERSION="$(cat version.txt)"
- cd frontend
- PACKAGENAME="$(jq '.name' package.json)"
- VERSION="$(cat version.txt)"
- echo "$(jq '.version="${VERSION}"' package.json)" > package.json
- echo $PACKAGENAME > packagename.txt
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment