Skip to content

Commit

Permalink
Handle ~ symbols in git tags
Browse files Browse the repository at this point in the history
The ~ symbol used in prereleases is not supported by git tags. Needs to convert it to a -.
  • Loading branch information
j-rivero authored Oct 9, 2023
1 parent 7122876 commit 0543b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins-scripts/docker/gz-source-generation.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BUILD_DIR=\$SOURCES_DIR/build
cd \${WORKSPACE}
rm -fr \$SOURCES_DIR && mkdir \$SOURCES_DIR
git clone --depth 1 --branch ${PACKAGE}_${VERSION} ${SOURCE_REPO_URI} \${SOURCES_DIR}
git clone --depth 1 --branch ${PACKAGE}_${VERSION:~:-} ${SOURCE_REPO_URI} \${SOURCES_DIR}
rm -fr \$BUILD_DIR && mkdir \$BUILD_DIR
cd \${BUILD_DIR}
cmake .. -DPACKAGE_SOURCE_ONLY:BOOL=ON
Expand Down

0 comments on commit 0543b68

Please sign in to comment.