Skip to content

Commit

Permalink
cloud build
Browse files Browse the repository at this point in the history
  • Loading branch information
byCrookie committed Dec 11, 2023
1 parent ac7442c commit a9d209a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'

- name: Install Nerdbank.GitVersioning
run: install --tool-path . nbgv

- name: Nerdbank.GitVersioning SetVersion
- name: Nerdbank.GitVersioning
run: nbgv cloud

- name: Restore
Expand Down Expand Up @@ -97,10 +94,7 @@ jobs:
with:
dotnet-version: '8.0.x'

- name: Install Nerdbank.GitVersioning
run: install --tool-path . nbgv

- name: Nerdbank.GitVersioning SetVersion
- name: Nerdbank.GitVersioning
run: nbgv cloud

- name: Restore
Expand Down Expand Up @@ -142,10 +136,7 @@ jobs:
with:
dotnet-version: '8.0.x'

- name: Install Nerdbank.GitVersioning
run: install --tool-path . nbgv

- name: Nerdbank.GitVersioning SetVersion
- name: Nerdbank.GitVersioning
run: nbgv cloud

- name: Restore
Expand Down
10 changes: 7 additions & 3 deletions version.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.2.0",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/main$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
],
"release": {
"firstUnstableTag": "preview"
"cloudBuild": {
"setVersionVariables": true,
"setAllVariables": true,
"buildNumber": {
"enabled": true
}
}
}

0 comments on commit a9d209a

Please sign in to comment.