Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add upgrade information
[releng/global-jjb.git]
/
shell
/
release-job.sh
diff --git
a/shell/release-job.sh
b/shell/release-job.sh
index
ec59da0
..
5b163c8
100644
(file)
--- a/
shell/release-job.sh
+++ b/
shell/release-job.sh
@@
-98,13
+98,20
@@
for release_file in $release_files; do
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"
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:"
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"
########## 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
git push origin "$VERSION"
lftools nexus release --server "$NEXUS_URL" "$STAGING_REPO"
if [ "${MAVEN_CENTRAL_URL}" == 'None' ]; then