Skip to content

Generated v1.0.0-beta.38 #35

Generated v1.0.0-beta.38

Generated v1.0.0-beta.38 #35

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Install AWK"
run: sudo apt-get update && sudo apt-get -y install gawk && awk --version
- name: Extract first Changelog entry
run: cat CHANGELOG.md | awk '/^##/{block++} {if (block==1) {print}}' > CHANGELOG.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: CHANGELOG.txt
draft: false
name: ${{ github.ref_name }}
env:
GITHUB_REPOSITORY: fastly/fastly-go
- name: Force quicker pkg.go.dev indexing
run: curl 'https://proxy.golang.org/github.com/fastly/fastly-go/@v/${{ github.ref_name }}.info'