-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update flashlight and go versions (#949) * Update flashlight and go versions * Do not enforce go version in Makefile * Revert "Update flashlight and go versions (#949)" (#950) This reverts commit eab0e69. * add a template for GitHub integrated release notes * generate automatic changelog on release, then trigger automation repo * fixed IAP flow * fixed IAP flow --------- Co-authored-by: Myles Horton <[email protected]> Co-authored-by: atavism <[email protected]> Co-authored-by: Jay <[email protected]>
- Loading branch information
1 parent
a41db28
commit ccf76da
Showing
7 changed files
with
119 additions
and
35 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# template for auto-generated release notes | ||
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes | ||
|
||
changelog: | ||
# exclude: | ||
# labels: | ||
# - ignore-for-release | ||
# authors: | ||
# - octocat | ||
categories: | ||
- title: ✨ Major Features | ||
labels: | ||
- epic | ||
- title: 🪲 Bug Fixes | ||
labels: | ||
- bug | ||
- cs | ||
- title: 📱 Team Apps | ||
labels: | ||
- team_apps | ||
- title: 📶 Team SDK | ||
labels: | ||
- team_sdk | ||
- title: 🛠️ Team Infra | ||
labels: | ||
- team_infra | ||
- telemetry |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Release and Changelog | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
# a prerelease noted by a hyphen will not trigger | ||
- 'lantern-[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create release | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
# https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release | ||
run: | | ||
gh api -i \ | ||
--method POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
/repos/${{ github.repository }}/releases \ | ||
-f tag_name='${{ github.ref_name }}' \ | ||
-f name='Release ${{ github.ref_name }}' \ | ||
-f body='🤖 Autogenerated changelog for ${{ github.repository }} ${{ github.ref_name }}' \ | ||
-F draft=false \ | ||
-F prerelease=false \ | ||
-F generate_release_notes=true | ||
- name: Strip repository name of owner | ||
id: repo | ||
run: | | ||
echo "REPO_NAME=$(echo ${{ github.repository }} | sed s/'${{ github.repository_owner }}\/'//g)" >> "$GITHUB_OUTPUT" | ||
- name: Trigger QC Checklist in customer-service repo | ||
env: | ||
GH_GRANTS_TOKEN: ${{ secrets.GH_GRANTS_TOKEN }} | ||
run: | | ||
echo "Sending QC Checklist trigger for ${{ steps.repo.outputs.REPO_NAME }} ${{ github.ref_name }}" | ||
curl -i -H "Accept: application/vnd.github.everest-preview+json" \ | ||
-H "Authorization: token $GH_GRANTS_TOKEN" \ | ||
--request POST --data '{"event_type": "TRIGGER_QC_CHECKLIST", "client_payload": { "platform": "${{ steps.repo.outputs.REPO_NAME }}", "version": "${{ github.ref_name }}"}}' \ | ||
https://api.github.com/repos/getlantern/customer-support/dispatches |
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
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
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
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
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