chore: release automation with semantic-release#55
Conversation
| "description": "A theme to make Bootstrap look like Talis", | ||
| "author": "dm@talis.com", | ||
| "license": "ISC", | ||
| "name": "@technologyfromsage/bootstrap-theme", |
There was a problem hiding this comment.
The project name is changing, so we can publish to npm.
| "publishConfig": { | ||
| "registry": "https://npm.pkg.github.com" |
There was a problem hiding this comment.
We will push to our npm org, instead.
| }, | ||
| "publishConfig": { | ||
| "registry": "https://npm.pkg.github.com" | ||
| "url": "git+https://github.com/techfromsage/bootstrap-theme.git" |
There was a problem hiding this comment.
Aligns the URL on the org name.
| "version": "3.1.0", | ||
| "description": "A theme to make Bootstrap look like Talis", | ||
| "license": "ISC", |
There was a problem hiding this comment.
No change; just moved down.
| "bugs": { | ||
| "url": "https://github.com/talis/bootstrap-theme/issues" | ||
| "url": "https://github.com/techfromsage/bootstrap-theme/issues" | ||
| }, | ||
| "homepage": "https://github.com/talis/bootstrap-theme#readme", | ||
| "homepage": "https://github.com/techfromsage/bootstrap-theme#readme", | ||
| "scripts": { |
There was a problem hiding this comment.
Aligns the URL on the org name.
| "sass": "1.89.2", | ||
| "semantic-release": "24.2.5", | ||
| "serve": "14.2.0", | ||
| "standard-version": "9.5.0", |
There was a problem hiding this comment.
Removes the deprecated standard-version package
| "prettier": "2.8.8", | ||
| "purgecss": "5.0.0", | ||
| "sass": "1.89.2", | ||
| "semantic-release": "24.2.5", |
There was a problem hiding this comment.
installs semantic-release for automated release
| @@ -0,0 +1,14 @@ | |||
| module.exports = { | |||
There was a problem hiding this comment.
Configuration to use conventional commits, and publish to github and npm.
| - run: | ||
| name: Release to npm and Github | ||
| command: npx semantic-release |
There was a problem hiding this comment.
Adds publish via semantic-release.
| name: Report uncommitted changes produced by the build, failing if any exist | ||
| command: UNCOMMITTED=$(git status --untracked-files=no --porcelain) && echo "$UNCOMMITTED" && [ -z "$UNCOMMITTED" ] | ||
| push_to_github_pages: | ||
| publish_release: |
There was a problem hiding this comment.
Renames the job to reflect release.
cd8cae7 to
e752d5e
Compare
Adds release automation with semantic-release