Skip to content

Commit

Permalink
update gh release script (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubox76 authored Apr 22, 2024
1 parent 462c5fe commit 743b801
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ name: Create Github release
on:
push:
tags:
- '@google/generative-ai@*'
- '*'

permissions:
contents: write

jobs:
release:
name: Release pushed tag
if: ${{ contains(github.ref_name, 'google/generative-ai') }}
runs-on: ubuntu-latest
steps:
- name: Create Github release
Expand All @@ -35,5 +36,5 @@ jobs:
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="$tag" \
--generate-notes
--generate-notes \
--verify-tag

0 comments on commit 743b801

Please sign in to comment.