Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release workflow #36

Merged
merged 3 commits into from
Nov 22, 2024
Merged

Release workflow #36

merged 3 commits into from
Nov 22, 2024

Conversation

jonsmock
Copy link
Collaborator

These changes will automatically do NPM and Docker Hub releases, when we push a git tag of the form 'vX.Y.Z'. Before we release, we run all tests and verify the git tag matches our package.json.

Additionally, update the node version used in the Docker image. I had to find another candidate for 'netcat' and chose 'netcat-openbsd' (vs. 'netcat-traditional), but I'm open to other opinions/expertise.

jonsmock and others added 3 commits November 22, 2024 18:16
Update netcat package name, as 'netcat' has been removed
Automatically publish releases to NPM and Docker Hub from GHA. Only
performs a release, when:

- all tests pass
- a new git tag is pushed (expected format "v1.0.0")
- git tag matches the version in package.json

The gating of releases happens in the 'check-release' job, which all
future release-* jobs depend on. This is where any final linting or
sanity checking can be done.
@jonsmock jonsmock requested a review from kanaka November 22, 2024 18:23
@jonsmock jonsmock merged commit 9e979b3 into master Nov 22, 2024
8 checks passed
@jonsmock jonsmock deleted the release-workflow branch November 22, 2024 18:46
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