Skip to content

Commit 4fbcef0

Browse files
authored
chore(release): publish to npm (#27)
* build(analytics): add tracking code GH-20 * docs(csv): add sample CSV * docs(csv): add sample CSV From `gregswindle/eslint-plugin-crc` Issues. * feat(analytics): add yeomon/insight Prompts consumers to allow for tracking on Google Analytics GH-20 * ci(travis): run standard-version Run standard-version on release and commit its artifacts. GH-20 * ci(travis): clarify release step GH-20 * docs(contribute): update toc & scripts GH-20 * ci(travis): shell_session_update Trying to fix shell_session_update: command not found error GH-20
1 parent f24aa4c commit 4fbcef0

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.travis.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,15 @@ after_script:
4141
- test $TRAVIS_PULL_REQUEST != false
4242
&& sonar-scanner -Dproject.settings=./.github/config/sonar-project.properties -Dsonar.organization=$SONAR_ORGANIZATION -Dsonar.login=$SONAR_TOKEN -X
4343

44-
deploy:
45-
provider: script
46-
skip_cleanup: true
47-
script:
48-
- npm run docs:changelog
49-
- git commit -a --amend --no-edit
50-
- npx travis-deploy-once "npx semantic-release"
44+
jobs:
45+
include:
46+
# Define the release stage that runs semantic-release
47+
- stage: release
48+
node_js: lts/*
49+
deploy:
50+
provider: script
51+
skip_cleanup: true
52+
script:
53+
- npm run docs:changelog
54+
- git commit -a --amend --no-edit
55+
- npx travis-deploy-once "npx semantic-release"

0 commit comments

Comments
 (0)