Skip to content

Commit 06ccfe5

Browse files
Fix some leftovers
1 parent 6b21864 commit 06ccfe5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,12 @@ jobs:
7272

7373
- name: Prepare Build Artifacts (!windows)
7474
working-directory: ./${{ env.DIST_DIR }}
75-
run: tar -czf ${{ env.RELEASE_NAME }}.tar.gz arduino-flasher-cli -C ../arduino-flasher-cli LICENSE
75+
run: tar -czf ${{ env.RELEASE_NAME }}.tar.gz arduino-flasher-cli -C ../ LICENSE
7676
if: matrix.os != 'windows'
77+
7778
- name: Prepare Build Artifacts (windows)
7879
working-directory: ./${{ env.DIST_DIR }}
79-
run: 7z a -tzip ${{ env.RELEASE_NAME }}.zip arduino-flasher-cli.exe ../arduino-flasher-cli/LICENSE
80+
run: 7z a -tzip ${{ env.RELEASE_NAME }}.zip arduino-flasher-cli.exe ../LICENSE
8081
if: matrix.os == 'windows'
8182

8283
- name: Upload artifacts
@@ -158,8 +159,7 @@ jobs:
158159
steps:
159160
- name: Set environment variables
160161
run: |
161-
TAG_NAME="${GITHUB_REF##*/}"
162-
VERSION="${TAG_NAME#flasher-}"
162+
VERSION="${GITHUB_REF##*/}"
163163
echo "PACKAGE_FILENAME=${{ env.PROJECT_NAME }}-${VERSION}-${{ matrix.build }}.tar.gz" >>$GITHUB_ENV
164164
165165
- name: Checkout repository

0 commit comments

Comments
 (0)