Skip to content
Snippets Groups Projects
Verified Commit 20680712 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

actually cut to 63 bytes, not characters

parent 6ddf7c74
No related branches found
No related tags found
1 merge request!31Resolve "variables.sh uses too long branch names sometimes."
# Set the docker image tag to the name of the current branch.
# Shortened to 63 bytes because Gitlab does the same with the `CI_COMMIT_REF_SLUG`
# variable, which we use in the CI script to build the docker image.
dockerTag=$(git rev-parse --abbrev-ref HEAD | cut -c "-63")
dockerTag=$(git rev-parse --abbrev-ref HEAD | cut -b "-63")
# Only get the number from the issue (or whatever is in front of a dash
# otherwise) for the release name
......
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