Commit dd48e270 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

feat: tag only on latest

parent 03862353
......@@ -41,6 +41,9 @@ tag:
stage: deploy
VERSION_FILE: "lib/jekyll-theme-lcsb-default.rb"
# Run only on branch named "latest"
- if: $CI_COMMIT_BRANCH == "latest"
# Make sure that the version exists
- VERSION=$(cat $VERSION_FILE | grep -o "\d\.\d\.\d")
Supports Markdown
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