aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-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.