Skip to content

Commit

Permalink
We had the LICENSE and info in the incorrect place
Browse files Browse the repository at this point in the history
  • Loading branch information
nicorichard committed Oct 6, 2024
1 parent 9c812e6 commit fa49ea1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/archive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
- name: Build artifact bundle
env:
ARTIFACT_FOLDER_NAME: "XCStringsLint.artifactbundle/xcstringslint-${{ github.ref_name }}-macos"
ARTIFACT_FOLDER_NAME: "XCStringsLint.artifactbundle"
VERSION: ${{ github.ref_name }}
run: |
mkdir -p "$ARTIFACT_FOLDER_NAME/bin"
mkdir -p "$ARTIFACT_FOLDER_NAME/xcstringslint-$VERSION-macos/bin"
cp -f "${{ steps.build.outputs.path }}" "$ARTIFACT_FOLDER_NAME/xcstringslint-$VERSION-macos/bin"
sed "s/__VERSION__/$VERSION/g" .github/artifactbundle.json.template > "$ARTIFACT_FOLDER_NAME/info.json"
cp -f "${{ steps.build.outputs.path }}" "$ARTIFACT_FOLDER_NAME/bin"
cp -f "LICENSE" "$ARTIFACT_FOLDER_NAME"
(zip -yr - "XCStringsLint.artifactbundle") > "./XCStringsLint-macos.artifactbundle.zip"
(zip -yr - "$ARTIFACT_FOLDER_NAME") > "./XCStringsLint-macos.artifactbundle.zip"
- name: Upload binary to release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit fa49ea1

Please sign in to comment.