Skip to content

Daily release/10/04/2024/evening #2921

Daily release/10/04/2024/evening

Daily release/10/04/2024/evening #2921

Workflow file for this run

name: github release
on:
pull_request:
types:
- closed
branches:
- main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
create-release:
name: generate docs-website github release notes (optional)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 22.4
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Get last release tag
id: get-last-tag
run: |
echo LAST_RELEASE=$(git describe --tags --abbrev=0) >> $GITHUB_ENV
echo $LAST_RELEASE
- name: Create release timestamp
run: |
echo RELEASE_TIMESTAMP=$(TZ=America/Los_Angeles date '+%m.%d.%Y-%H.%M') >> $GITHUB_ENV
- name: Create new release tag
id: create-new-tag
run: |
echo NEW_TAG=$(echo "release-${{ env.RELEASE_TIMESTAMP }}") >> $GITHUB_ENV
- name: Create Updates and Release
id: create-updates-and-release
run: ./scripts/actions/github-release-notes.mjs
- name: Set Release Version from Tag
run: echo "RELEASE_VERSION=${{ env.NEW_TAG }}" >> $GITHUB_ENV