-
Notifications
You must be signed in to change notification settings - Fork 885
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
Add patch release PR creation scripts #7062
base: main
Are you sure you want to change the base?
Add patch release PR creation scripts #7062
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7062 +/- ##
==========================================
+ Coverage 80.06% 82.25% +2.19%
==========================================
Files 190 229 +39
Lines 37181 41694 +4513
Branches 9450 10716 +1266
==========================================
+ Hits 29770 34297 +4527
- Misses 2997 3120 +123
+ Partials 4414 4277 -137 ☔ View full report in Codecov by Sentry. |
3b9c06b
to
d4ca23a
Compare
2a5bf8c
to
abed9bc
Compare
94ad2a5
to
2423491
Compare
2423491
to
5476ab2
Compare
1f401f3
to
8c68aae
Compare
9ed12db
to
b0c7cc2
Compare
c624ef4
to
9cc04cb
Compare
e5ef3a8
to
aae36db
Compare
For the version branch. Issue: timescale/eng-database#613
Instead of supplying them externally.
Accordingly also edit it in the next script.
From git config, instead of CLI input.
For git user parameters setup.
Concerning issue timescale/eng-database#623 Automate minor release : Release PR (for *.*.x branch) creation.
In a different way. As naming of these files is not consistent.
a bit more, as per review comment.
variables using sed, in release-automation-scripts
from RELEASE_NOTES_HEADER.md.j2. As now this section is commented in the above header file itself.
From current CHANGELOG.md , instead of keeping it a fixed number of lines.
To fix the shellcheck style issue: ^-- SC2116 (style): Useless echo? Instead of 'cmd $(echo foo)', just use 'cmd foo'.
aae36db
to
fb25c89
Compare
cut -d '(' -f1 < ~/CHANGELOG_"$NEW_VERSION".md > ~/CHANGELOG_"$NEW_VERSION".md.tmp | ||
mv ~/CHANGELOG_"$NEW_VERSION".md.tmp ~/CHANGELOG_"$NEW_VERSION".md | ||
|
||
git commit -a -F ~/CHANGELOG_"$NEW_VERSION".md |
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.
git commit -a -F ~/CHANGELOG_"$NEW_VERSION".md | |
git commit --no-verify -a -F ~/CHANGELOG_"$NEW_VERSION".md |
To don't trigger commit hooks.
For the version branch.
Issue: https://github.com/timescale/eng-database/issues/613
Disable-check: force-changelog-file
Disable-check: commit-count