Skip to content

Bump version to v1.5.2 #366

Bump version to v1.5.2

Bump version to v1.5.2 #366

Workflow file for this run

name: Create Release
on:
push:
branches:
- main
paths:
- '**.json'
pull_request:
branches:
- main
paths:
- '**.json'
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Version Number
run: echo "version=$(jq -r .version package.json)" >> $GITHUB_ENV
- name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Check if version changed
run: |
if git rev-parse "v${{ env.version }}" >/dev/null 2>&1; then
echo "exists=true" >> $GITHUB_ENV
else
echo "exists=false" >> $GITHUB_ENV
- name: Create Release
if: env.exists == 'false'
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ env.version

Check failure on line 41 in .github/workflows/release-checker.yml

View workflow run for this annotation

GitHub Actions / Create Release

Invalid workflow file

The workflow is not valid. .github/workflows/release-checker.yml (Line: 41, Col: 21): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.