Skip to content

Commit eb97f6a

Browse files
committed
fix macos and windows build archives
1 parent 93f75d8 commit eb97f6a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/release+build+publish.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,18 @@ jobs:
163163
if: runner.os == 'Windows'
164164
shell: bash
165165
run: |
166+
# move file first so we don't get directory structure in the zip
167+
mv "${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}" .
166168
7z a -mx9 "${{ steps.make_paths.outputs.archive_path}}" \
167-
"${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}"
169+
"${{ steps.make_paths.outputs.binary_filename }}"
168170
169171
- name: Archive (macOS)
170172
if: runner.os == 'macOS'
171173
run: |
172-
zip -r -9 "${{ steps.make_paths.outputs.archive_path}}" \
173-
"${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}"
174+
# move file first so we don't get directory structure in the zip
175+
mv "${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}" .
176+
zip -9 "${{ steps.make_paths.outputs.archive_path}}" \
177+
"${{ steps.make_paths.outputs.binary_filename }}"
174178
175179
- name: Upload artifact
176180
uses: actions/upload-artifact@v4

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nextver"
3-
version = "0.7.2"
3+
version = "0.7.3"
44
authors = ["Tim Martin <tim@tim.direct>"]
55
readme = "README.md"
66
repository = "https://github.com/t-mart/nextver"

0 commit comments

Comments
 (0)