Daily release/10 24 24 whats new ids2 #2952
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: 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 |