Skip to content

add license (#12)

add license (#12) #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
cache: true
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Generate release notes
run: |
echo "# Release notes" > release-notes.txt
git log --pretty=format:"* %s" $(git describe --tags --abbrev=0 HEAD^)..HEAD >> release-notes.txt
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
body_path: release-notes.txt
token: ${{ secrets.GITHUB_TOKEN }}
files: |
terraform-provider-pomerium_*
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}