Commit e8070a67 authored by Rahix's avatar Rahix 🦀
Browse files

ci: Also build release pipeline for tags

To ensure we get clean version information, update the mtime of
`.git/HEAD` before running the release pipeline.  Otherwise tags would
just end up re-using the version information from the untagged commit.
parent c52f3ff6
......@@ -41,6 +41,7 @@ build-release:
<<: *global_cache
key: release-build
script:
- touch .git/HEAD
- wasm-pack build
- cd www
- npm install
......@@ -51,6 +52,7 @@ build-release:
- www/dist
only:
- master
- tags
deploy:
stage: deploy
......@@ -60,3 +62,4 @@ deploy:
- "cp -r www/dist/* /var/www/game"
only:
- master
- tags
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment