Skip to content

Commit

Permalink
Merge pull request #357 from GeoWerkstatt/node-deprecation
Browse files Browse the repository at this point in the history
Use GitHub CLI for creating releases
  • Loading branch information
danjov authored Nov 25, 2024
2 parents c2c552b + deb8488 commit dec6c9c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
REGISTRY: ghcr.io
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
create-pre-release:
Expand Down Expand Up @@ -58,9 +59,5 @@ jobs:
cache-to: type=inline

- name: Create GitHub pre-release
uses: marvinpinto/action-automatic-releases@919008cf3f741b179569b7a6fb4d8860689ab7f0
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: v${{ env.VERSION }}
prerelease: true
title: ${{ env.VERSION }}
run: gh release create v${{ env.VERSION }} --title "${{ env.VERSION }}" --prerelease --target ${{ github.ref }}

0 comments on commit dec6c9c

Please sign in to comment.