Beta release notes for v3.3.0 #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Beta release notes | |
run-name: Beta release notes for ${{ github.ref_name }} | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
Release: | |
runs-on: [self-hosted, linux, large] | |
steps: | |
- name: Checkout checkbox monorepo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup the gh repository and install gh | |
run: | | |
which curl || (sudo apt update && sudo apt install curl -y) | |
sudo curl https://cli.github.com/packages/githubcli-archive-keyring.gpg --output /usr/share/keyrings/githubcli-archive-keyring.gpg | |
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg | |
gpg --import /usr/share/keyrings/githubcli-archive-keyring.gpg | |
gpg --fingerprint "2C6106201985B60E6C7AC87323F3D4EA75716059" | |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null | |
sudo apt update -qq | |
sudo apt install -qq -y gh | |
- name: Generate the github release note | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LP_CREDENTIALS: ${{ secrets.LP_CREDS }} | |
CHECKBOX_REPO: ${{ github.repository }} | |
run: | | |
gh release create $(git describe --tags --abbrev=0 --match v*) -d --generate-notes |