Skip to content

Commit

Permalink
ci: add release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
chenasraf committed Aug 13, 2024
1 parent 0c2bf93 commit 280eae7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test

on:
push:
branches: [ "master" ]

permissions:
contents: write
pull-requests: write

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install ZSH
run: |-
sudo apt update
sudo apt install zsh -y
- name: Run Tests
run: ./test/git-open.test.zsh
release:
needs:
- test
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: simple

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test

on:
push:
branches: [ "master", "develop" ]
branches: ["develop" ]
pull_request:
branches: [ "master", "develop" ]
workflow_dispatch:
Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.1

0 comments on commit 280eae7

Please sign in to comment.