Skip to content

chore: release automation with semantic-release#55

Merged
junglebarry merged 6 commits intomainfrom
release_automation
Jun 26, 2025
Merged

chore: release automation with semantic-release#55
junglebarry merged 6 commits intomainfrom
release_automation

Conversation

@junglebarry
Copy link
Copy Markdown
Contributor

Adds release automation with semantic-release

Comment thread package.json
"description": "A theme to make Bootstrap look like Talis",
"author": "dm@talis.com",
"license": "ISC",
"name": "@technologyfromsage/bootstrap-theme",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The project name is changing, so we can publish to npm.

Comment thread package.json
Comment on lines -11 to -12
"publishConfig": {
"registry": "https://npm.pkg.github.com"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will push to our npm org, instead.

Comment thread package.json
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"url": "git+https://github.com/techfromsage/bootstrap-theme.git"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aligns the URL on the org name.

Comment thread package.json
Comment on lines +7 to +9
"version": "3.1.0",
"description": "A theme to make Bootstrap look like Talis",
"license": "ISC",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change; just moved down.

Comment thread package.json
Comment on lines 18 to 17
"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": {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aligns the URL on the org name.

Comment thread package.json
"sass": "1.89.2",
"semantic-release": "24.2.5",
"serve": "14.2.0",
"standard-version": "9.5.0",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removes the deprecated standard-version package

Comment thread package.json
"prettier": "2.8.8",
"purgecss": "5.0.0",
"sass": "1.89.2",
"semantic-release": "24.2.5",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

installs semantic-release for automated release

Comment thread release.config.js
@@ -0,0 +1,14 @@
module.exports = {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configuration to use conventional commits, and publish to github and npm.

Comment thread .circleci/config.yml
Comment on lines +92 to +94
- run:
name: Release to npm and Github
command: npx semantic-release
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds publish via semantic-release.

Comment thread .circleci/config.yml
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:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renames the job to reflect release.

@junglebarry junglebarry merged commit 9ef0b34 into main Jun 26, 2025
4 checks passed
@junglebarry junglebarry deleted the release_automation branch June 26, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants