summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2017-06-08 10:29:38 +0200
committerOle Troan <ot@cisco.com>2017-06-16 22:40:16 +0200
commitfc69a971162add81ba768026f2d3deef21f925b5 (patch)
tree0edd88efffd891fcf96f9e8e11f2d498660e3b40
parent2fe427dfb091805a4512622d39a594167d89d745 (diff)
Release: Script to generate LF release template.v17.04.2
Change-Id: I88d46c71dffd15e31ce8852af224a4f95a76b1ab Signed-off-by: Ole Troan <ot@cisco.com>
-rwxr-xr-xextras/scripts/lf-release.sh11
-rw-r--r--extras/scripts/lf-release.txt47
2 files changed, 58 insertions, 0 deletions
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.