From 572aff53e8a6996f1b95d062a53f4f7a1c660d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Wed, 31 Mar 2021 23:30:15 +0200 Subject: [PATCH] build: Only keep one VERSION file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of having different VERSION files spread accross the project, let's always use the one in the topsrcdir and remove all the others, keeping only a synlink to the topsrcdir one. Fixes: #1579 Signed-off-by: Fabiano FidĂȘncio --- src/agent/VERSION | 2 +- src/runtime/VERSION | 2 +- tools/osbuilder/VERSION | 2 +- tools/packaging/cmd/kata-pkgsync/VERSION | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 120000 src/agent/VERSION mode change 100644 => 120000 src/runtime/VERSION mode change 100644 => 120000 tools/osbuilder/VERSION mode change 100644 => 120000 tools/packaging/cmd/kata-pkgsync/VERSION diff --git a/src/agent/VERSION b/src/agent/VERSION deleted file mode 100644 index 227cea215648..000000000000 --- a/src/agent/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.0.0 diff --git a/src/agent/VERSION b/src/agent/VERSION new file mode 120000 index 000000000000..558194c5a5a5 --- /dev/null +++ b/src/agent/VERSION @@ -0,0 +1 @@ +../../VERSION \ No newline at end of file diff --git a/src/runtime/VERSION b/src/runtime/VERSION deleted file mode 100644 index 227cea215648..000000000000 --- a/src/runtime/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.0.0 diff --git a/src/runtime/VERSION b/src/runtime/VERSION new file mode 120000 index 000000000000..558194c5a5a5 --- /dev/null +++ b/src/runtime/VERSION @@ -0,0 +1 @@ +../../VERSION \ No newline at end of file diff --git a/tools/osbuilder/VERSION b/tools/osbuilder/VERSION deleted file mode 100644 index 227cea215648..000000000000 --- a/tools/osbuilder/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.0.0 diff --git a/tools/osbuilder/VERSION b/tools/osbuilder/VERSION new file mode 120000 index 000000000000..558194c5a5a5 --- /dev/null +++ b/tools/osbuilder/VERSION @@ -0,0 +1 @@ +../../VERSION \ No newline at end of file diff --git a/tools/packaging/cmd/kata-pkgsync/VERSION b/tools/packaging/cmd/kata-pkgsync/VERSION deleted file mode 100644 index 8acdd82b765e..000000000000 --- a/tools/packaging/cmd/kata-pkgsync/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.0.1 diff --git a/tools/packaging/cmd/kata-pkgsync/VERSION b/tools/packaging/cmd/kata-pkgsync/VERSION new file mode 120000 index 000000000000..a4e948506b8a --- /dev/null +++ b/tools/packaging/cmd/kata-pkgsync/VERSION @@ -0,0 +1 @@ +../../../../VERSION \ No newline at end of file