-
-
Notifications
You must be signed in to change notification settings - Fork 56
Add a release workflow #9
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
316be14
Add a release workflow
mattwynne 0261281
Tweak contributing text
mattwynne f560774
Merge branch 'main' into add-release-workflow
mattwynne b766ff9
Merge branch 'main' into add-release-workflow
mattwynne b03aecf
Rename java test workflow
mattwynne 8dadff4
Add NPM publish job
mattwynne 510b079
Add working directory for publish ruby job
mattwynne 6eff004
Add maven
aslakhellesoy 95cf1db
Create a go/* tag
aslakhellesoy 113f9a1
Update CONTRIBUTING.md
aslakhellesoy 43a1356
Update CONTRIBUTING.md
aslakhellesoy b0359bd
Rename and extract workflows
aslakhellesoy 5a99118
Misc tweaks
aslakhellesoy 1393f04
Fix cache path
aslakhellesoy 93b8209
Add status badges
aslakhellesoy d10fca0
Move release instructions to RELEASING.md
aslakhellesoy 13eade4
Consolidate release instructions from CONTRIBUTING.md to RELEASING.md
aslakhellesoy bac5a6a
Formatting
aslakhellesoy 4ba845e
Merge remote-tracking branch 'origin/main' into add-release-workflow
aslakhellesoy 7b62f6d
Fix typos
aslakhellesoy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,3 +73,15 @@ jobs: | |
nexus_password: ${{ secrets.SONATYPE_PASSWORD }} | ||
maven_profiles: sign-source-javadoc | ||
directory: java | ||
|
||
publish-go: | ||
name: Create go/* tag | ||
needs: create-release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create go/* tag | ||
run: |- | ||
git config user.name "cukebot" | ||
git config user.email "[email protected]" | ||
git tag "go/${{ steps.create-release.outputs.version }}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could also use the https://github.com/cucumber-actions/versions action as a prior step in this workflow. Or, if we factor out our own action for this we can make it self-sufficient about looking up the version. |
||
git push --tags |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though it's trivial, I suggest we factor this out into an action too. That way we keep symmetry with the other publish jobs, and we also have a single lever we can move if we need to make cross-project modifications about how Go packages are released (such as publishing binaries etc.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, but I'd prefer to extract it after we're sure it works. It's easier to iterate that way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmmyeah. Remember how hard these are to test though - really the only way to test it is to run it and make a release. If we have it in a separate action we can unit test that at least, which gives us a bit more confidence when we bolt the whole thing together.
I've run out of time today but I can do this tomorrow.