Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilak Kumar committed Feb 7, 2024
1 parent 70eb5a3 commit 2720d84
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/releases.yaml
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/venv/
logfire-aws-lambda.zip
.idea/
.github

0 comments on commit 2720d84

Please sign in to comment.