From 02d6146c79e95be9e11da3c6a6d57196397d6c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BE=AA?= Date: Tue, 8 Oct 2024 13:42:19 +1300 Subject: [PATCH] 0.0.7 --- .github/workflows/build.yml | 9 +++++---- build.sbt | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e3b0c50..53271397 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -231,10 +231,11 @@ jobs: .\target\chester.exe,` .\target\chester-lsp.exe ` -DestinationPath chester-${{ matrix.os_name }}.zip - - # Generate checksum for the zip file - Get-FileHash -Algorithm SHA256 chester-${{ matrix.os_name }}.zip | ` - Select-Object -ExpandProperty Hash > chester-${{ matrix.os_name }}.zip.sha256 + # generating checksum using Git Bash + - name: Generate checksum for Windows zip + if: runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/') + run: | + sha256sum chester-${{ matrix.os_name }}.zip > chester-${{ matrix.os_name }}.zip.sha256 # Create or Update Releases when a tag is pushed - name: Create or Update GitHub Release Tag for Unix if: runner.os != 'Windows' && startsWith(github.ref, 'refs/tags/') diff --git a/build.sbt b/build.sbt index 49e865e5..9401abb2 100644 --- a/build.sbt +++ b/build.sbt @@ -103,7 +103,7 @@ val baseDeps = Seq( commonSettings -ThisBuild / version := sys.env.getOrElse("VERSION", "0.0.5") +ThisBuild / version := sys.env.getOrElse("VERSION", "0.0.7") ThisBuild / organization := "com.github.chester-lang" ThisBuild / assemblyMergeStrategy := {