Skip to content

Reference latest Pixi version in README (#149) #108

Reference latest Pixi version in README (#149)

Reference latest Pixi version in README (#149) #108

Workflow file for this run

name: Release if version changed
on:
push:
branches: main
permissions:
contents: write
# To release a new version, update the version in package.json.
# This will create a draft release with the changelog and push a 'vx' tag that points to the new release as well as 'vx.y.z'.
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: Quantco/ui-actions/version-metadata@a0653e9fc0ee3c4be9f7cc88e509e40536e9f3c1 # v1.0.15
id: version-metadata
with:
file: ./package.json
token: ${{ secrets.GITHUB_TOKEN }}
- run: .github/scripts/release.sh
if: steps.version-metadata.outputs.changed == 'true'
env:
TAG_NAME: v${{ steps.version-metadata.outputs.newVersion }}
- name: Create release
if: steps.version-metadata.outputs.changed == 'true'
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
with:
generate_release_notes: true
tag_name: v${{ steps.version-metadata.outputs.newVersion }}
draft: true