diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ea4947..1c7b323 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index f466f29..28864ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "send-vrc-desktop" version = "1.0.1" edition = "2021" +license = "MIT" [dependencies] anyhow = "1.0.58"