Skip to content

Commit

Permalink
Merge pull request #13 from stackql/feature/stackql-release-update
Browse files Browse the repository at this point in the history
 updated 0.5.552
  • Loading branch information
jeffreyaven authored Dec 29, 2023
2 parents 8cf9ecd + 4e70e85 commit 1269b00
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/chocolatey-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,20 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

# - name: Extract Version from .nuspec
# id: set_version
# run: |
# $xml = [xml](Get-Content stackql/stackql.nuspec)
# $version = $xml.package.metadata.version
# echo "VERSION=$version" >> $GITHUB_ENV

- name: Extract Version from .nuspec
run: |
$xml = [xml](Get-Content stackql/stackql.nuspec)
$version = $xml.package.metadata.version
echo "Extracted version: $version"
echo "VERSION=$version" >> $GITHUB_ENV
shell: pwsh

# - name: Create Chocolatey Package
# run: |
# echo "creating package for version $env:VERSION"
# cd stackql
# choco pack
- name: Create Chocolatey Package
run: |
echo "creating package for version $env:VERSION"
echo "creating package for version $VERSION"
cd stackql
choco pack
shell: pwsh
env:
VERSION: ${{ env.VERSION }}

- name: Install and Test Chocolatey Package
run: choco install stackql --source . -y
Expand Down

0 comments on commit 1269b00

Please sign in to comment.