diff options
| author | Mickael Istria | 2021-12-03 12:47:17 +0000 |
|---|---|---|
| committer | Mickael Istria | 2021-12-03 15:10:16 +0000 |
| commit | be4564ca15f6b8aec42b902d6c9f833f5ff01397 (patch) | |
| tree | e3401662bc43775052cbb8945f8c039dace00028 | |
| parent | 8fba65ff84229248c0c4360f46412803314196b6 (diff) | |
| download | eclipse.platform.releng.aggregator-be4564ca15f6b8aec42b902d6c9f833f5ff01397.tar.gz eclipse.platform.releng.aggregator-be4564ca15f6b8aec42b902d6c9f833f5ff01397.tar.xz eclipse.platform.releng.aggregator-be4564ca15f6b8aec42b902d6c9f833f5ff01397.zip | |
Bug 577323 - Fix tag command
`git remote get-url` isn't available on build machine, switch to `git
config --get remote.origin.url`
Change-Id: I2866a34ccd9dcad156ccaa6e85dbdd7209e0367b
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.releng.aggregator/+/188497
Tested-by: Platform Bot <platform-bot@eclipse.org>
Reviewed-by: Mickael Istria <mistria@redhat.com>
| -rwxr-xr-x | cje-production/mbscripts/mb110_tagBuildInputs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cje-production/mbscripts/mb110_tagBuildInputs.sh b/cje-production/mbscripts/mb110_tagBuildInputs.sh index 5712b1a86..af8052ba2 100755 --- a/cje-production/mbscripts/mb110_tagBuildInputs.sh +++ b/cje-production/mbscripts/mb110_tagBuildInputs.sh @@ -65,7 +65,7 @@ function toPushRepo() { fi } export -f toPushRepo -git submodule foreach 'if grep "^${name}:" ../../../streams/repositories_$PATCH_OR_BRANCH_LABEL.txt > /dev/null; then git tag $BUILD_ID; PUSH_URL="toPushRepo $(git remote get-url --push origin)"; git push --verbose $PUSH_URL $BUILD_ID; else echo Skipping $name; fi || :' +git submodule foreach 'if grep "^${name}:" ../../../streams/repositories_$PATCH_OR_BRANCH_LABEL.txt > /dev/null; then git tag $BUILD_ID; PUSH_URL="$(toPushRepo $(git config --get remote.origin.url))"; git push --verbose $PUSH_URL $BUILD_ID; else echo Skipping $name; fi || :' git tag $BUILD_ID git push --verbose origin $BUILD_ID |
