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