Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lau <[email protected]>
  • Loading branch information
aurexav committed Dec 9, 2024
1 parent 91acc8b commit d577787
Show file tree
Hide file tree
Showing 26 changed files with 6,462 additions and 198 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ jobs:
uses: vishnudxb/[email protected]
if: failure()
with:
repo: hack-ink/<NAME>
repo: hack-ink/polkadot-runtime-releaser
workflow_id: ${{ github.run_id }}
access_token: ${{ github.token }}
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ jobs:
- name: Pack (macOS)
if: matrix.target.os == 'macos-latest'
run: |
mv target/${{ matrix.target.name }}/ci-release/<NAME> .
zip <NAME>-${{ matrix.target.name }}.zip <NAME>
mv target/${{ matrix.target.name }}/ci-release/prr .
zip prr-${{ matrix.target.name }}.zip prr
- name: Pack (Windows)
if: matrix.target.os == 'windows-latest'
run: |
mv target/${{ matrix.target.name }}/ci-release/<NAME>.exe .
Compress-Archive -Path <NAME>.exe -DestinationPath <NAME>-${{ matrix.target.name }}.zip
mv target/${{ matrix.target.name }}/ci-release/prr.exe .
Compress-Archive -Path prr.exe -DestinationPath prr-${{ matrix.target.name }}.zip
- name: Pack (Linux)
if: matrix.target.os == 'ubuntu-latest'
run: |
mv target/${{ matrix.target.name }}/ci-release/<NAME> .
tar -czvf <NAME>-${{ matrix.target.name }}.tar.gz <NAME>
mv target/${{ matrix.target.name }}/ci-release/prr .
tar -czvf prr-${{ matrix.target.name }}.tar.gz prr
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: <NAME>-${{ matrix.target.name }}
path: <NAME>-${{ matrix.target.name }}.*
name: prr-${{ matrix.target.name }}
path: prr-${{ matrix.target.name }}.*
retention-days: 1

# release:
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Hash
run: |
mkdir -p artifacts
mv <NAME>-*/* artifacts/
mv prr-*/* artifacts/
cd artifacts
sha256sum * | tee ../SHA256
md5sum * | tee ../MD5
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ jobs:
- name: Pack (macOS)
if: matrix.target.os == 'macos-latest'
run: |
mv target/${{ matrix.target.name }}/ci-release/<NAME> .
zip <NAME>-${{ matrix.target.name }}.zip <NAME>
mv target/${{ matrix.target.name }}/ci-release/prr .
zip prr-${{ matrix.target.name }}.zip prr
- name: Pack (Windows)
if: matrix.target.os == 'windows-latest'
run: |
mv target/${{ matrix.target.name }}/ci-release/<NAME>.exe .
Compress-Archive -Path <NAME>.exe -DestinationPath <NAME>-${{ matrix.target.name }}.zip
mv target/${{ matrix.target.name }}/ci-release/prr.exe .
Compress-Archive -Path prr.exe -DestinationPath prr-${{ matrix.target.name }}.zip
- name: Pack (Linux)
if: matrix.target.os == 'ubuntu-latest'
run: |
mv target/${{ matrix.target.name }}/ci-release/<NAME> .
tar -czvf <NAME>-${{ matrix.target.name }}.tar.gz <NAME>
mv target/${{ matrix.target.name }}/ci-release/prr .
tar -czvf prr-${{ matrix.target.name }}.tar.gz prr
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: <NAME>-${{ matrix.target.name }}
path: <NAME>-${{ matrix.target.name }}.*
name: prr-${{ matrix.target.name }}
path: prr-${{ matrix.target.name }}.*
retention-days: 1

# staging:
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Hash
run: |
mkdir -p artifacts
mv <NAME>-*/* artifacts/
mv prr-*/* artifacts/
cd artifacts
sha256sum * | tee ../SHA256
md5sum * | tee ../MD5
Expand Down
Loading

0 comments on commit d577787

Please sign in to comment.