Skip to content

Commit 12050e7

Browse files
committed
fix(project): Uncomment semver steps from Travis
Signed-off-by: James Hart <[email protected]>
1 parent f0dad6c commit 12050e7

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.travis.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ env:
2222

2323
stages:
2424
- name: Build-Test
25+
- name: Semantic-Release
26+
if: branch = main AND type = push AND fork = false
2527
# Uncomment these stages when you're ready to use them.
26-
# - name: Semantic-Release
27-
# if: branch = main AND type = push AND fork = false
2828
# - name: Publish-Release
2929
# if: tag IS present
3030

@@ -40,21 +40,20 @@ jobs:
4040
- build/setMavenVersion.sh
4141
- mvn verify -fae -DskipITs $MVN_ARGS
4242

43-
# Uncomment these stages when you're ready to use them.
44-
# - stage: Semantic-Release
45-
# install:
46-
# - sudo apt-get install python
47-
# - nvm install 12
48-
# - npm install -g [email protected]
49-
# - pip install --user bump2version
50-
# - npm install @semantic-release/changelog
51-
# - npm install @semantic-release/exec
52-
# - npm install @semantic-release/git
53-
# - npm install @semantic-release/github
54-
# script:
55-
# - npx semantic-release
56-
# after_success:
57-
# - echo "Semantic release has successfully created a new tagged-release"
43+
- stage: Semantic-Release
44+
install:
45+
- sudo apt-get install python
46+
- nvm install 12
47+
- npm install -g [email protected]
48+
- pip install --user bump2version
49+
- npm install @semantic-release/changelog
50+
- npm install @semantic-release/exec
51+
- npm install @semantic-release/git
52+
- npm install @semantic-release/github
53+
script:
54+
- npx semantic-release
55+
after_success:
56+
- echo "Semantic release has successfully created a new tagged-release"
5857
#
5958
# - stage: Publish-Release
6059
# jdk: openjdk8

0 commit comments

Comments
 (0)