Skip to content

Version Packages (#1182) #123

Version Packages (#1182)

Version Packages (#1182) #123

# Creating the github release is the final step of the release.
name: Create Github Release
on:
push:
tags:
- "@segment/*"
jobs:
github_release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "yarn"
- name: Install Dependencies
run: HUSKY=0 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 yarn install --immutable
- name: Create Github Release From Tags
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "Segment Github"
git config --global user.email "github-actions@segment.com"
yarn scripts create-release-from-tags