Skip to content

Commit

Permalink
allow publishing of 2.8.0-rc2 ami
Browse files Browse the repository at this point in the history
  • Loading branch information
anyaelena committed Apr 4, 2019
1 parent 3535c01 commit b589045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pipeline {
stage('You ready?') {
steps {
script {
if (env.BRANCH_NAME == 'master') {
if (env.BRANCH_NAME == 'v2.8.0-rc2') {
input 'Ready to build and deploy AMI?'
} else {
echo 'Unable to deploy when not on master'
Expand All @@ -29,7 +29,7 @@ pipeline {
stage('Build AMI') {
steps {
script {
if (env.BRANCH_NAME == 'master') {
if (env.BRANCH_NAME == 'v2.8.0-rc2') {
withAWS(credentials: 'ec2NRELIS') {
sh 'pwd'
sh 'docker --version'
Expand Down
2 changes: 1 addition & 1 deletion server/app/lib/openstudio_server/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ module OpenstudioServer
VERSION = '2.8.0'.freeze
# format should be ^.*\-{1}[a-z]+[0-9]+
# for example: -rc0, -beta6, -customusecase0
VERSION_EXT = ''.freeze # with preceding - or +
VERSION_EXT = '-rc2'.freeze # with preceding - or +
end

0 comments on commit b589045

Please sign in to comment.