ci: attempt to fix version replacement

This commit is contained in:
Cynthia Foxwell 2022-10-18 21:19:11 -06:00
parent 7bdbfd80f8
commit 1c38d80776

View file

@ -28,7 +28,7 @@ pages:
- mkdir public
- cp -r modular public
- cp xmc.user.css public
- sed -i "s/@version 0.0.0/@version 0+${CI_COMMIT_HASH:0:8}/" public/xmc.user.css
- sed -i "s/@version 0.0.0/@version 0+$(echo \"$CI_COMMIT_HASH\" | cut -c1-8}/" public/xmc.user.css
artifacts:
paths:
- public