Release: Script to generate LF release template. 50/7050/3 v17.04.2
authorOle Troan <[email protected]>
Thu, 8 Jun 2017 08:29:38 +0000 (10:29 +0200)
committerOle Troan <[email protected]>
Fri, 16 Jun 2017 20:40:16 +0000 (22:40 +0200)
Change-Id: I88d46c71dffd15e31ce8852af224a4f95a76b1ab
Signed-off-by: Ole Troan <[email protected]>
extras/scripts/lf-release.sh [new file with mode: 0755]
extras/scripts/lf-release.txt [new file with mode: 0644]

diff --git a/extras/scripts/lf-release.sh b/extras/scripts/lf-release.sh
new file mode 100755 (executable)
index 0000000..4f26fc8
--- /dev/null
@@ -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 (file)
index 0000000..5c55736
--- /dev/null
@@ -0,0 +1,47 @@
+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.