diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8796e0d7..ae84f739 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,6 +116,15 @@ jobs: 7z a -tzip ${{ env.RELEASE_BIN }}-${{ matrix.target }}.zip ./target/release/${{ env.RELEASE_BIN_WINDOWS }} ${{ env.RELEASE_ADDS }} if: matrix.os == 'windows-latest' + - name: Release windows build to NuGet + id: releasetonuget + run: | + choco pack cbsh.nuspec --version ${{ needs.build.outputs.version }} + ls + choco apikey --key ${{ secrets.ChocolateyKey }} --source https://push.chocolatey.org/ + choco push --source https://push.chocolatey.org/ + if: matrix.os == 'windows-latest' + - name: Create Debian amd package id: createdebianpkg run: | @@ -128,7 +137,7 @@ jobs: Maintainer: jack.westwood@couchbase.com Architecture: ${{ matrix.arch }} Homepage: www.couchbase.sh - Description: The modern and fun shell for Couchbase Server and Cloud" > ./couchbase-shell_${{ steps.version.outputs.value }}_${{ matrix.target }}/DEBIAN/control + Description: The modern and fun shell for Couchbase Server and Couchbase Capella" > ./couchbase-shell_${{ steps.version.outputs.value }}_${{ matrix.target }}/DEBIAN/control cp {LICENSE,LICENSE_AGREEMENT,NOTICES,README.md} ./couchbase-shell_${{ steps.version.outputs.value }}_${{ matrix.target }}/usr/bin cp ./target/${{ matrix.target }}/release/${{ env.RELEASE_BIN }} ./couchbase-shell_${{ steps.version.outputs.value }}_${{ matrix.target }}/usr/bin dpkg --build ./couchbase-shell_${{ steps.version.outputs.value }}_${{ matrix.target }} diff --git a/cbsh.nuspec b/cbsh.nuspec new file mode 100644 index 00000000..07dc15d2 --- /dev/null +++ b/cbsh.nuspec @@ -0,0 +1,25 @@ + + + + + cbsh.portable + $version$ + Charles Dixon, Jack Westwood + Couchbase Shell (Portable) + Charles Dixon, Jack Westwood + https://couchbase.sh + https://github.com/couchbaselabs/couchbase-shell + https://github.com/couchbaselabs/couchbase-shell/issues + cli portable couchbase + The modern and fun shell for Couchbase Server and Couchbase Capella + https://github.com/couchbaselabs/couchbase-shell/releases/tag/v$version$ + + + + + + + + + \ No newline at end of file