Skip to content

Commit

Permalink
Merge pull request #53 from vrc-plugin/licence
Browse files Browse the repository at this point in the history
ライセンス関連ファイルの追加
  • Loading branch information
bootjp authored Jun 21, 2022
2 parents 64708dc + af4028c commit 281f20c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ jobs:
- name: Build
run: cargo build --release --verbose

- name: Add licence.txt
run: |
cargo install cargo-license
cargo license > target/release/licence.txt
- name: Archive to zip
run: |
New-Item -ItemType Directory dist
Compress-Archive -Path target/release/send-vrc-desktop.exe -DestinationPath dist/send-vrc-desktop-${{ needs.get-release-version.outputs.release_version }}-x86_64-pc-windows-msvc.zip
Compress-Archive -Path target/release/send-vrc-desktop.exe,target/release/licence.txt -DestinationPath dist/send-vrc-desktop-${{ needs.get-release-version.outputs.release_version }}-x86_64-pc-windows-msvc.zip
- name: Release
uses: softprops/action-gh-release@v1
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "send-vrc-desktop"
version = "1.0.1"
edition = "2021"
license = "MIT"

[dependencies]
anyhow = "1.0.58"
Expand Down

0 comments on commit 281f20c

Please sign in to comment.