Skip to content

Commit fa49ea1

Browse files
committed
We had the LICENSE and info in the incorrect place
1 parent 9c812e6 commit fa49ea1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/archive.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ jobs:
2222
2323
- name: Build artifact bundle
2424
env:
25-
ARTIFACT_FOLDER_NAME: "XCStringsLint.artifactbundle/xcstringslint-${{ github.ref_name }}-macos"
25+
ARTIFACT_FOLDER_NAME: "XCStringsLint.artifactbundle"
2626
VERSION: ${{ github.ref_name }}
2727
run: |
28-
mkdir -p "$ARTIFACT_FOLDER_NAME/bin"
28+
mkdir -p "$ARTIFACT_FOLDER_NAME/xcstringslint-$VERSION-macos/bin"
29+
cp -f "${{ steps.build.outputs.path }}" "$ARTIFACT_FOLDER_NAME/xcstringslint-$VERSION-macos/bin"
2930
3031
sed "s/__VERSION__/$VERSION/g" .github/artifactbundle.json.template > "$ARTIFACT_FOLDER_NAME/info.json"
31-
cp -f "${{ steps.build.outputs.path }}" "$ARTIFACT_FOLDER_NAME/bin"
3232
cp -f "LICENSE" "$ARTIFACT_FOLDER_NAME"
3333
34-
(zip -yr - "XCStringsLint.artifactbundle") > "./XCStringsLint-macos.artifactbundle.zip"
34+
(zip -yr - "$ARTIFACT_FOLDER_NAME") > "./XCStringsLint-macos.artifactbundle.zip"
3535
3636
- name: Upload binary to release
3737
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)