mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-31 17:22:07 +08:00
Add tag to commit instead of branch
This commit is contained in:
parent
c30b35a310
commit
7f23778593
@ -2,15 +2,12 @@
|
|||||||
deploy:tag:
|
deploy:tag:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
variables:
|
|
||||||
GIT_STRATEGY: "clone"
|
|
||||||
before_script:
|
before_script:
|
||||||
- export DEBIAN_FRONTEND=noninteractive
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y --no-install-recommends git
|
- apt-get install -y --no-install-recommends git
|
||||||
script:
|
script:
|
||||||
- git status
|
- git tag -f nightly $CI_COMMIT_SHORT_SHA
|
||||||
- git tag -f nightly $CI_COMMIT_BRANCH
|
|
||||||
- git push $EIGEN_CI_GIT_PUSH_URL $CI_COMMIT_BRANCH tag nightly
|
- git push $EIGEN_CI_GIT_PUSH_URL $CI_COMMIT_BRANCH tag nightly
|
||||||
tags:
|
tags:
|
||||||
- linux
|
- linux
|
||||||
|
Loading…
x
Reference in New Issue
Block a user