From d059f20516712e2131487f99caea0254928f835f Mon Sep 17 00:00:00 2001 From: Will Baldoumas <45316999+wbaldoumas@users.noreply.github.com> Date: Sun, 27 Aug 2023 17:46:30 -0700 Subject: [PATCH] Adjust Publishing (#31) --- .github/workflows/publish.yml | 48 +++++++++++++++++------------------ src/LazyCart/LazyCart.csproj | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 30ed9a6..5df93e6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -62,7 +62,7 @@ jobs: - name: 🎁 pack nuget if: env.VERSION_CHANGED == '1' - run: dotnet pack src/LazyCart/LazyCart.csproj --configuration Release --include-symbols /p:SymbolPackageFormat=snupkg /p:ContinuousIntegrationBuild=true /p:Version=${VERSION} --output . + run: dotnet pack src/LazyCart/LazyCart.csproj --configuration Release --include-symbols /p:SymbolPackageFormat=snupkg /p:ContinuousIntegrationBuild=true /p:Version="${{ env.VERSION }}" --output . - name: 💌 publish nuget if: env.VERSION_CHANGED == '1' @@ -70,26 +70,26 @@ jobs: env: NUGET_KEY: ${{ secrets.NUGET_API_KEY }} - - name: 🔨 set up python - if: env.VERSION_CHANGED == '1' - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - - name: 📢 extract release notes - if: env.VERSION_CHANGED == '1' - run: | - python scripts/extract_changelog.py CHANGELOG.md latest_release.md - - - name: 📑 create github release - if: env.VERSION_CHANGED == '1' - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v${{ env.VERSION }} - release_name: Release v${{ env.VERSION }} - draft: false - prerelease: false - body_path: latest_release.md + # - name: 🔨 set up python + # if: env.VERSION_CHANGED == '1' + # uses: actions/setup-python@v4 + # with: + # python-version: '3.x' + + # - name: 📢 extract release notes + # if: env.VERSION_CHANGED == '1' + # run: | + # python scripts/extract_changelog.py CHANGELOG.md latest_release.md + + # - name: 📑 create github release + # if: env.VERSION_CHANGED == '1' + # id: create_release + # uses: actions/create-release@v1 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # with: + # tag_name: v${{ env.VERSION }} + # release_name: Release v${{ env.VERSION }} + # draft: false + # prerelease: false + # body_path: latest_release.md diff --git a/src/LazyCart/LazyCart.csproj b/src/LazyCart/LazyCart.csproj index 585fd98..bad6569 100644 --- a/src/LazyCart/LazyCart.csproj +++ b/src/LazyCart/LazyCart.csproj @@ -25,7 +25,7 @@ - 0.4.2 + 0.4.3 William Baldoumas A tiny library to lazily generate the Nth cartesian product. Copyright ©2023 William Baldoumas