-
Notifications
You must be signed in to change notification settings - Fork 103
Generate release notes automatically from pull requests #3174
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
Changes from all commits
d419c80
29ca2ad
30a24aa
5c69261
fcdfe65
63747b6
f08b6d1
e23ebb5
6df1e99
7065221
7015935
59377c2
aede97d
31ede36
716d751
3fbce56
6699a42
29ac603
55eb90c
a090ffc
2011fe1
f52b00e
6bd2d5b
74d6795
9a4dcaf
592f246
245f1ff
05f70a2
4f4ece7
37c58af
1c38fcb
5370e56
8a5ba60
16964c7
05edbd1
d4c5f81
5f2e1f3
68ab398
622fea3
0c75513
2761e07
cec63b7
149af8c
f1bb1ab
e4a108d
32426db
1d145b9
ea6f58e
dc8e30c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,28 +23,25 @@ jobs: | |
with: | ||
ref: ${{ inputs.branch }} | ||
ssh-key: ${{ secrets.DEPLOY_KEY }} | ||
fetch-tags: true | ||
# fetch all the history to make sure that we have the last release | ||
# I tried fetching part of the history, but I just couldn't get it to work, and fetching all still takes like 5s | ||
fetch-depth: 0 | ||
- name: Setup Base Environment | ||
uses: ./actions/setup-base-env | ||
- name: Setup FDB | ||
uses: ./actions/setup-fdb | ||
|
||
# Push a version bump back to main. There are failure scenarios that can result | ||
# in published artifacts but an erroneous build, so it's safer to bump the version | ||
# at the beginning | ||
- name: Configure Git | ||
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. I think this could be moved into the action, but I didn't want to change more than I had to 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. I guess I would have been fine with moving this into the composite step in this PR |
||
run: | | ||
git config --global user.name 'FoundationDB CI' | ||
git config --global user.email '[email protected]' | ||
- name: Increment Version | ||
run: python build/versionutils.py gradle.properties -u PATCH --increment --commit | ||
- name: Push Version Update | ||
run: git push | ||
|
||
- name: Build and publish release | ||
uses: ./actions/release-build-publish | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
update_type: PATCH | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
MAVEN_USER: ${{ secrets.MAVEN_USER }} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,29 +16,26 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
ssh-key: ${{ secrets.DEPLOY_KEY }} | ||
fetch-tags: true | ||
# fetch all the history to make sure that we have the last release | ||
# I tried fetching part of the history, but I just couldn't get it to work, and fetching all still takes like 5s | ||
fetch-depth: 0 | ||
- name: Setup Base Environment | ||
id: setup-base | ||
uses: ./actions/setup-base-env | ||
- name: Setup FDB | ||
uses: ./actions/setup-fdb | ||
|
||
# Push a version bump back to main. There are failure scenarios that can result | ||
# in published artifacts but an erroneous build, so it's safer to bump the version | ||
# at the beginning | ||
- name: Configure git | ||
run: | | ||
git config --global user.name 'FoundationDB CI' | ||
git config --global user.email '[email protected]' | ||
- name: Increment version | ||
run: python build/versionutils.py gradle.properties --increment --commit | ||
- name: Push version increment | ||
run: git push | ||
|
||
- name: Build and publish | ||
uses: ./actions/release-build-publish | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
update_type: BUILD | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
MAVEN_USER: ${{ secrets.MAVEN_USER }} | ||
|
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 am going to try and test the changes to the actions in a separate repository.