From 8337911490581d30ad54be6323a4cc3844fe3ca0 Mon Sep 17 00:00:00 2001 From: Reza Behzadan Date: Sun, 31 Mar 2024 14:01:48 +0330 Subject: [PATCH] Add VERSION --- Jenkinsfile | 1 + VERSION | 1 + 2 files changed, 2 insertions(+) create mode 100644 VERSION diff --git a/Jenkinsfile b/Jenkinsfile index 84f3443..ecf9c1a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,6 +20,7 @@ pipeline { stage('Release') { steps { + sh 'git tag -a v$(cat VERSION) -m "v$(cat VERSION)"' sh 'goreleaser release' } } diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..21e8796 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0.3