diff --git a/.github/workflows/release+build+publish.yml b/.github/workflows/release+build+publish.yml index 6749cd6..4ae1151 100644 --- a/.github/workflows/release+build+publish.yml +++ b/.github/workflows/release+build+publish.yml @@ -163,14 +163,18 @@ jobs: if: runner.os == 'Windows' shell: bash run: | + # move file first so we don't get directory structure in the zip + mv "${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}" . 7z a -mx9 "${{ steps.make_paths.outputs.archive_path}}" \ - "${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}" + "${{ steps.make_paths.outputs.binary_filename }}" - name: Archive (macOS) if: runner.os == 'macOS' run: | - zip -r -9 "${{ steps.make_paths.outputs.archive_path}}" \ - "${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}" + # move file first so we don't get directory structure in the zip + mv "${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}" . + zip -9 "${{ steps.make_paths.outputs.archive_path}}" \ + "${{ steps.make_paths.outputs.binary_filename }}" - name: Upload artifact uses: actions/upload-artifact@v4 diff --git a/Cargo.lock b/Cargo.lock index 57b0e53..1f50e08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -511,7 +511,7 @@ checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "nextver" -version = "0.7.2" +version = "0.7.3" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index b91ba5c..0b0d95e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nextver" -version = "0.7.2" +version = "0.7.3" authors = ["Tim Martin "] readme = "README.md" repository = "https://github.com/t-mart/nextver"