Skip to content

Commit

Permalink
add release
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMcCulloh committed Apr 14, 2024
1 parent bbfa0ad commit 86ecf36
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
branches:
- main

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: prepare
run: |
# get version from package.json
echo "version=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v2
with:
tag_name: "v${{ steps.prepare.outputs.version }}"
generate_release_notes: true
files: |
src/**
queries/**
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 86ecf36

Please sign in to comment.