-
Notifications
You must be signed in to change notification settings - Fork 4
branch releases fix #60
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
Conversation
bh2smith
left a comment
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.
Way too many irrelevant changes. Looks a lot like the entire file was replaced with some AI proposed outdated new file.
| SHORT_SHA=$(git rev-parse --short HEAD) | ||
| # TODO: make this dynamic https://github.com/BitteProtocol/make-agent/issues/56 | ||
| BASE_VERSION="0.2.1" # Define a base version | ||
| BASE_VERSION=$(node -p "require('./package.json').version") |
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.
This is no good.
Please consider following the linked issue: #56
Also save this for another PR - it is an unrelated change.
package.json
Outdated
| "name": "make-agent", | ||
| "type": "module", | ||
| "version": "0.0.22-7", | ||
| "version": "0.2.3", |
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.
We will not be keeping this updated. We should not rely on it.
| run: npm publish --access public --tag beta | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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.
New line at EOF!
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
|
|
||
| jobs: | ||
| branch-release: | ||
| branch_release: |
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.
| branch_release: | |
| branch-release: |
bh2smith
left a comment
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.
Ok every thing looks good now. Just a few nits and please add "Closes #56" to the PR description.
branch-release- New line at EOF.
- Just set the version in package.json to "0.0.0" to indicate it is not being used.
Closes #72 and closes #60 The problem before was that we didn't fetch the history (i.e. fetch depth 0) See here that the correct version tag was detected: https://github.com/BitteProtocol/make-agent/actions/runs/13176723432/job/36777678912?pr=73
Closes #56