Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Apr 29, 2024
1 parent a53f654 commit 64743bc
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
#
###################################################

- name: (PREPARE) Set up QEMU
uses: docker/setup-qemu-action@v2

- name: (PREPARE) Checkout Repository
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -62,33 +65,33 @@ jobs:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage/lcov.info

###################################################
#
# Build
#
###################################################
###################################################
#
# Build
#
###################################################

- name: (BUILD) Transpile to Javascript
run: yarn build

- name: (BUILD) Build Binaries
run: yarn package

###################################################
#
# Release
#
###################################################
###################################################
#
# Release
#
###################################################

- name: (RELEASE) Delete Latest Release
run: gh release delete latest --cleanup-tag --yes || true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: (RELEASE) Delete Latest Tag (Local)
run: git tag --delete latest || true

- name: (RELEASE) Create Latest Release
run: gh release create latest --target ${GITHUB_SHA} --latest -t "Latest Release" -n "This is the latest release of this project" ./dist/*
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 64743bc

Please sign in to comment.