Skip to content

Commit bfdc10a

Browse files
committed
Tweaked build scripts
1 parent 792c4d4 commit bfdc10a

6 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
publish_dir: artifacts/Documentation
6565
cname: openservicebroker.typedrest.net
6666
- name: Publish packages (GitHub)
67-
if: github.event_name == 'push'
67+
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/renovate/')
6868
run: |
6969
Get-ChildItem artifacts\Release\*.nupkg | ForEach-Object {
7070
curl.exe -sS -X PUT -u "${{github.actor}}:${{github.token}}" -F package=@$_ https://nuget.pkg.github.com/${{github.repository_owner}}/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ bin/
1212

1313
# Output
1414
/artifacts/
15+
**/TestResults/

doc/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -e
33
cd `dirname $0`
44

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ client.SetApiVersion(new ApiVersion(2, 16));
165165

166166
The source code is in [`src/`](src/), config for building the API documentation is in [`doc/`](doc/) and generated build artifacts are placed in `artifacts/`. The source code does not contain version numbers. Instead the version is determined during CI using [GitVersion](http://gitversion.readthedocs.io/).
167167

168-
To build run `.\build.ps1` or `./build.sh` (.NET Core SDK is automatically downloaded if missing using [0install](https://0install.net/)).
168+
To build run `.\build.ps1` or `./build.sh` (.NET SDK is automatically downloaded if missing using [0install](https://0install.net/)).
169169

170170
## Contributing
171171

src/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -e
33
cd `dirname $0`
44

template/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ It uses the [OpenServiceBroker.Server library](https://github.com/TypedRest/Open
55

66
## Using the template
77

8-
Make sure you have the [.NET Core SDK](https://www.microsoft.com/net/download) installed your machine. Then install the template by running the following:
8+
Make sure you have the [.NET SDK](https://dotnet.microsoft.com/download/dotnet-core) installed your machine. Then install the template by running the following:
99

1010
dotnet new --install OpenServiceBroker.Template::*
1111

0 commit comments

Comments
 (0)