-
Notifications
You must be signed in to change notification settings - Fork 106
Added workflow for automated releases #121
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 12 commits
c23814d
2bb1aaa
fec8e2e
a37cfbd
297a400
28b5fd3
c81bba2
c7087d4
b6a1f98
693332c
16ebddf
4836386
f1f9b20
8a44c78
1527754
c88ed22
2eb4fae
8b4f0a7
a57dc95
3c1e8ae
74a76a1
fb47130
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
releaseVersion: | ||
description: "Version to use for the release." | ||
required: true | ||
default: "X.Y.Z" | ||
developmentVersion: | ||
description: "Version to use for further development" | ||
required: true | ||
default: "X.Y.Z-RIE" | ||
seshubaws marked this conversation as resolved.
Show resolved
Hide resolved
|
||
jobs: | ||
Release: | ||
environment: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
seshubaws marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: Configure Git User # may be removed after https://github.com/actions/checkout/issues/13 is resolved | ||
run: | | ||
git config user.email "${{ github.actor }}@users.noreply.github.com" | ||
git config user.name "${{ github.actor }}" | ||
seshubaws marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: Set up python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
- name: Build | ||
run: make compile-with-docker-all | ||
seshubaws marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: ${{ github.event.inputs.releaseVersion }} | ||
seshubaws marked this conversation as resolved.
Show resolved
Hide resolved
|
||
files: | | ||
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. Can we add more info to the release ? Maybe not important, but in the past we've prefixed the Release names with "Release ". Also, we could probably add a parameter to add as the body of the release, in case we want to add some info there.
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 added something to do this when setting the release version, but you can only enter in one line of notes (aka you can't use bullet points etc). You can always edit the body after the release though, is that ok? |
||
bin/aws-lambda-rie | ||
bin/aws-lambda-rie-arm64 | ||
bin/aws-lambda-rie-x86_64 |
Uh oh!
There was an error while loading. Please reload this page.