Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Rename folder used for temp storing release in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
GeckoEidechse committed Aug 2, 2022
1 parent dc07079 commit 4a65a78
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
- name: Rename Release (Unix)
run: |
cargo install default-target
mkdir assets
mkdir release-assets
FILENAME=northstar_dev_testing_helper_tool_bin-${{github.event.release.tag_name}}-$(default-target)
mv target/release/northstar_dev_testing_helper_tool_bin assets
cd assets
mv target/release/northstar_dev_testing_helper_tool_bin release-assets
cd release-assets
tar --format=ustar -czf $FILENAME.tar.gz northstar_dev_testing_helper_tool_bin
rm northstar_dev_testing_helper_tool_bin
ls .
Expand All @@ -60,10 +60,10 @@ jobs:
- name: Rename Release (Windows)
run: |
cargo install default-target
mkdir assets
mkdir release-assets
FILENAME=northstar_dev_testing_helper_tool_bin-${{github.event.release.tag_name}}-$(default-target)
mv target/release/northstar_dev_testing_helper_tool_bin.exe assets/northstar_dev_testing_helper_tool_bin.exe
cd assets
mv target/release/northstar_dev_testing_helper_tool_bin.exe release-assets/northstar_dev_testing_helper_tool_bin.exe
cd release-assets
powershell Compress-Archive -Path * -Destination ${FILENAME}.zip
rm northstar_dev_testing_helper_tool_bin.exe
ls .
Expand All @@ -72,4 +72,4 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
files: assets/*
files: release-assets/*

0 comments on commit 4a65a78

Please sign in to comment.