Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Bump to 9.0.0

Bump to 9.0.0 #16

Workflow file for this run

on:
push:
branches:
- master
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check if package version changed
id: check_version
run: |
version="v$(cat package.json | jq -r '.version')"
if [ $(git tag -l "$version") ]; then
echo "Tag $version already exists."
else
echo "version_tag=$version" >> "$GITHUB_OUTPUT"
fi
- name: Create Release
if: steps.check_version.outputs.version_tag
run: |
gh release create ${{ steps.check_version.outputs.version_tag }} --generate-notes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}