From fc69a971162add81ba768026f2d3deef21f925b5 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Thu, 8 Jun 2017 10:29:38 +0200 Subject: Release: Script to generate LF release template. Change-Id: I88d46c71dffd15e31ce8852af224a4f95a76b1ab Signed-off-by: Ole Troan --- extras/scripts/lf-release.sh | 11 ++++++++++ extras/scripts/lf-release.txt | 47 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100755 extras/scripts/lf-release.sh create mode 100644 extras/scripts/lf-release.txt diff --git a/extras/scripts/lf-release.sh b/extras/scripts/lf-release.sh new file mode 100755 index 00000000000..4f26fc8e2ae --- /dev/null +++ b/extras/scripts/lf-release.sh @@ -0,0 +1,11 @@ +#!/bin/bash +VPP_DIR=`dirname $0` +VER=$($VPP_DIR/version) +MAJOR=$(echo $VER | sed -r 's/(.{5}).*/\1/') +MAJOR_NODOT=$(echo $MAJOR | sed -e "s/\.//") +FULL=$(echo $VER | sed -e "s/-release//") + +sed -e "s/\${major_release_nodot}/$MAJOR_NODOT/g" \ + -e "s/\${major_release}/$MAJOR/g" \ + -e "s/\${full_release}/$FULL/g" \ + $VPP_DIR/lf-release.txt diff --git a/extras/scripts/lf-release.txt b/extras/scripts/lf-release.txt new file mode 100644 index 00000000000..5c5573690ed --- /dev/null +++ b/extras/scripts/lf-release.txt @@ -0,0 +1,47 @@ +To: helpdesk@fd.io +Subject: Publish vpp release artifacts + +vpp has completed release ${full_release}. + +Please copy: + +https://nexus.fd.io/content/repositories/fd.io.stable.${major_release_nodot}.centos7/io/fd/vpp/*/${full_release}-release.x86_64/*.rpm + +to + +https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/*/${major_release}-release.x86_64/*.rpm + +Please note: the groupId will be io.fd.vpp, the maven version will be ${major_release}-release.x86_64, the artifactId will be the '*' between io/fd/vpp/ and ${major_release}-release.x86_64 + +Please copy: + +https://nexus.fd.io/content/repositories/fd.io.stable.${major_release_nodot}.ubuntu.trusty.main/io/fd/vpp/*/${full_release}_amd64/*.deb + +to + +https://nexus.fd.io/content/repositories/fd.io.ubuntu.trusty.main/io/fd/vpp/*/${major_release}_amd64/*.deb + +Please note: the groupId will be io.fd.vpp, the maven version will be ${major_release}_amd64, the artifactId will be the '*' between io/fd/vpp/ and ${major_release}_amd64 + +Please copy: + +https://nexus.fd.io/content/repositories/fd.io.stable.${major_release_nodot}.ubuntu.xenial.main/io/fd/vpp/*/${full_release}_amd64/*.deb + +to + +https://nexus.fd.io/content/repositories/fd.io.ubuntu.xenial.main/io/fd/vpp/*/${major_release}_amd64/*.deb + +Please note: the groupId will be io.fd.vpp, the maven version will be ${major_release}_amd64, the artifactId will be the '*' between io/fd/vpp/ and ${major_release}_amd64 + +Please copy + +https://nexus.fd.io/content/repositories/fd.io.snapshot/io/fd/vpp/*/${full_release}-SNAPSHOT/*.jar +where you select the jar file with the highest build number + +to + +https://nexus.fd.io/content/repositories/fd.io.release/io/fd/vpp/*/${full_release}/*.jar + +Please note: the groupId will be io.fd.vpp, the maven version will be ${full_release}, the artifactId will be the '*' between io/fd/vpp/ and ${full_release} + +When performing all of these copies, please make sure to *not* copy the .pom files. -- cgit 1.2.3-korg