-
Notifications
You must be signed in to change notification settings - Fork 36
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
Lifei/fix GitHub workflow triggers #27
Conversation
.github/workflows/ci.yaml
Outdated
uv run pytest tests -m 'not integration' | ||
|
||
create_tag: |
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.
should this be run on the release workflow - not ci? ci just for testing?
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.
I can move this on the release workflow. and the release workflow depends on the ci workflow and only run on the main branch. Therefore it would be better.
because currently in my PR it shows like this (although the create tag job is skipped). It would be good to move the create tag on the release workflow.
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.
I've pushed a commit to move the create_tag
job to the pypi_release
workflow now
ok to be clear, goose tells me this is how it works:
is that right? that seems ok then |
The PyPI Release Workflow Execution is only triggered when a tag name starts with
It checks out the code with the tag which was pushed
The Pypi release workflow does not run concurrently with the CI workflow. It is only trigged by pushing a tag name starts with |
This is no long valid now. I've pushed a commit to move the |
Nice, I think this makes sense. However, I think initially, we probably want to manually publish tags for releases so we don't push anything broken? Or I guess the expecation is you don't version bump everything? We def need to follow up with the semver release strategy. Also, here's a similar PR https://github.com/square/goose/pull/19/files -- I have some checks in there for checking versions in the pyproject and on pypi which maybe we just move in here? |
@zakiali yeah - unless there was a goose-unstable package for people to live on the edge, but probably overkill, as long as version number changes then it could be a release? woudl be good to have more releases (of goose + exchange) regularly ig possible |
I think the semver/conventional commits stuff will help here greatly to have a standard practice. We can have release candidates pushed up for experimental/exploratory installs, while still having stable releases for users not wanting to be on the cutting edge. For now, releases on version bump are 👍 |
ok so this should have the publish only triggered on tag now? (and then check it builds of course) |
Why
Currently we don't have mechanism to create the version tag and publish the package for new version
What
Note
I heard we are also going to discuss the semantic version for auto version. Before the decision on the semantic version, we may use this mechanism in the PR, at least we can release new versions