Skip to content

Commit

Permalink
Next version skal være target
Browse files Browse the repository at this point in the history
  • Loading branch information
zapodot committed Oct 13, 2023
1 parent 9fd147f commit a095b65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ pipeline {

steps {
gitCheckout("main")
sh(script: "git tag -a ${env.RELEASE_VERSION} -m \"Releasing jenkins build ${env.BUILD_NUMBER}\"", label: "Tagging release ${env.RELEASE_VERSION}")
writeFile(file: "${env.WORKSPACE}/version", text: env.RELEASE_VERSION);
sh(script: "git tag -f -a ${env.RELEASE_VERSION} -m \"Releasing jenkins build ${env.BUILD_NUMBER}\"", label: "Tagging release ${env.RELEASE_VERSION}")
writeFile(file: "${env.WORKSPACE}/version", text: env.NEXT_VERSION);
sh(script: 'git add version && git commit -a -m "Prepare further development"', label: "Commit oppdatert versjonsfil")
}
post {
Expand Down

0 comments on commit a095b65

Please sign in to comment.