git merge --ff-only FETCH_HEAD
git tag -am "$PROJECT $VERSION" "$VERSION"
sigul --batch -c "$SIGUL_CONFIG" sign-git-tag "$SIGUL_KEY" "$VERSION" < "$SIGUL_PASSWORD"
+
echo "Showing latest signature for $PROJECT:"
- git log --show-signature -n1
+ gpg --import /tmp/onap-pubkey
+ echo "git tag -v "$VERSION""
+ git tag -v "$VERSION"
########## Merge Part ##############
if [[ "$JOB_NAME" =~ "merge" ]]; then
echo "Running merge"
+ gerrit_ssh=$(echo "$GERRIT_URL" | awk -F"/" '{print $3}')
+ git remote set-url origin ssh://"$RELEASE_USERNAME"@"$gerrit_ssh":29418/$PROJECT
+ git config user.name "$RELEASE_USERNAME"
+ git config user.email "$RELEASE_EMAIL"
git push origin "$VERSION"
lftools nexus release --server "$NEXUS_URL" "$STAGING_REPO"
if [ "${MAVEN_CENTRAL_URL}" == 'None' ]; then