Skip to content

Commit

Permalink
modified travis to include beta release, modifying CHANGELOG to trigg…
Browse files Browse the repository at this point in the history
…er a release. (#273)
  • Loading branch information
pawels-optimizely authored Aug 27, 2020
1 parent ef880e1 commit 1256fff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
- $TRAVIS_BUILD_DIR/scripts/ci_build_generate_secret.sh

- stage: 'Build, Upload and Publish (draft)'
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+(\-beta)?[0-9]*$/
name: linux
os: linux
dist: xenial
Expand All @@ -127,7 +127,7 @@ jobs:
- $TRAVIS_BUILD_DIR/scripts/ci_build_generate_secret.sh && $TRAVIS_BUILD_DIR/scripts/ci_attach_generate_secret.sh

- stage: 'Test github release assets'
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+(\-beta)?[0-9]*$/
name: linux
os: linux
env: APP_VERSION=${TRAVIS_TAG#v}
Expand All @@ -151,7 +151,7 @@ jobs:
- SLACK_TEXT="${APP_VERSION} $TRAVIS_OS_NAME assets failed verification." send_to_slack.sh

- stage: 'Test github release assets'
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+(\-beta)?[0-9]*$/
name: darwin
os: osx
env: APP_VERSION=${TRAVIS_TAG#v}
Expand All @@ -176,7 +176,7 @@ jobs:
- SLACK_TEXT="${APP_VERSION} $TRAVIS_OS_NAME assets failed verification." send_to_slack.sh

- stage: 'Test github release assets'
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+(\-beta)?[0-9]*$/
name: windows
os: windows
env: APP_VERSION=${TRAVIS_TAG#v}
Expand All @@ -200,7 +200,7 @@ jobs:
- SLACK_TEXT="${APP_VERSION} $TRAVIS_OS_NAME assets failed verification." send_to_slack.sh

- stage: 'Publish (real)'
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+(\-beta)?[0-9]*$/
name: publish and notify in slack
os: linux
env: APP_VERSION=${TRAVIS_TAG#v}
Expand All @@ -221,7 +221,7 @@ jobs:
- hub release edit --draft=false -m "" ${TRAVIS_TAG}

- stage: 'Publish (beta)'
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+\-beta+[0-9]?$/
if: type = push AND tag IS present AND tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+(\-beta)?[0-9]*$/
name: publish beta
os: linux
env: APP_VERSION=${TRAVIS_TAG#v}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [2.0.0-beta] - August 24, 2020
- Add SDK key validation configuration
- Reject request with invalid host
- Reject request with invalid host (excluding port)
- Block content type other than application/json
- Introducing support for authenticated datafiles

Expand Down

0 comments on commit 1256fff

Please sign in to comment.