Skip to content

Commit

Permalink
build: some ci change
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli committed Aug 22, 2024
1 parent 0018b53 commit 776fe97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: nbgv Version
id: nbgv-version
run: |
$version = .\nbgv.exe get-version -f json | ConvertFrom-Json
$version = nbgv get-version -f json | ConvertFrom-Json
echo $version
echo "version=$($version.NuGetPackageVersion)" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- name: nbgv Version
id: nbgv-version
run: |
$version = .\nbgv.exe get-version -f json | ConvertFrom-Json
$version = nbgv get-version -f json | ConvertFrom-Json
echo "version=$($version.NuGetPackageVersion)" >> "$GITHUB_OUTPUT"
# for publish package to github for each commit
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

nbgv.exe prepare-release
dotnet csharpier . && git add -A .
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.3.1",
"version": "1.3.2-preview.1",
"gitCommitIdShortAutoMinimum": 7,
"nugetPackageVersion": {
"semVer": 2
Expand Down

0 comments on commit 776fe97

Please sign in to comment.