We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8363525 commit ce6b47bCopy full SHA for ce6b47b
scripts/set-version.sh
@@ -0,0 +1,18 @@
1
+#!/bin/sh
2
+#
3
+# Copyright 2019 Intel Corporation.
4
5
+# SPDX-License-Identifier: Apache-2.0
6
7
+# Invoke this script with a version as parameter
8
+# and it will update all hard-coded image versions
9
+# in the source code.
10
11
+# Adapted from https://github.com/intel/pmem-csi/
12
+
13
+if [ $# != 1 ] || [ "$1" = "?" ] || [ "$1" = "--help" ]; then
14
+ echo "Usage: $0 <image version>" >&2
15
+ exit 1
16
+fi
17
18
+sed -i -e "s;\(^TAG?*=\|intel/crypto-perf:\|intel/intel-[^ ]*:\)[^ ]*;\1$1;g" $(git grep -l '^TAG?*=\|intel/crypto-perf:\|intel/intel-[^ ]*:' Makefile deployments)
0 commit comments