-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tilak Kumar
committed
Feb 7, 2024
1 parent
70eb5a3
commit 2720d84
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Releases | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Check out source code | ||
uses: actions/checkout@v3 | ||
|
||
# Add a step here to convert line endings | ||
- name: Convert line endings | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y dos2unix | ||
dos2unix aws-script.sh | ||
- name: Tag new version | ||
id: tagger | ||
uses: phish108/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
bump: minor | ||
with-v: true | ||
release-branch: main | ||
|
||
- name: Create release on Github | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: "v${{ steps.tagger.outputs.new-tag }}" | ||
artifacts: aws-script.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/venv/ | ||
logfire-aws-lambda.zip | ||
.idea/ | ||
.github |