Skip to content

Commit 3775a6a

Browse files
committed
Do not tag release candidates
1 parent 9f41fb8 commit 3775a6a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/commit_release.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ pushd `dirname ${BASH_SOURCE[0]}`/../ >/dev/null
2929
git push origin master --tags
3030

3131
#Create a release tag in each subrepo and push them
32-
git submodule foreach git tag -m "OmpSs-2-at-FPGA release ${VERSION}" ompss-2-at-fpga-release/${VERSION}
33-
git submodule foreach git push origin ompss-2-at-fpga-release/${VERSION}
32+
if ! [[ ${VERSION} =~ [0-9]+\.[0-9]+\.[0-9]+-rc[0-9]* ]] ; then
33+
git submodule foreach git tag -m "OmpSs-2-at-FPGA release ${VERSION}" ompss-2-at-fpga-release/${VERSION}
34+
git submodule foreach git push origin ompss-2-at-fpga-release/${VERSION}
35+
fi
3436

3537
#Clear the credentials cache
3638
git credential-cache exit

0 commit comments

Comments
 (0)