diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b40da5a..ea4b246 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,23 @@ jobs: uses: borales/actions-yarn@v4 with: cmd: build + - name: Create release folder + run: mkdir -p dist/release + - name: Make zip + uses: thedoctor0/zip-release@0.7.6 + with: + type: zip + directory: dist + exclusions: release + filename: release/time-card-extension.zip + - name: Make tar + uses: thedoctor0/zip-release@0.7.6 + with: + type: tar + directory: dist + exclusions: release + filename: release/time-card-extension.tar.gz - name: Release uses: softprops/action-gh-release@v1 with: - files: dist/* + files: dist/release/time-card-extension.* diff --git a/update-v0.1.0 b/update-v0.1.0 new file mode 100755 index 0000000..161bea8 --- /dev/null +++ b/update-v0.1.0 @@ -0,0 +1,7 @@ +#!/bin/sh +git add . +git commit --amend +git tag -d v0.1.0 +git push -f +git tag -a -m "v0.1.0" v0.1.0 +git push -f --tags