Skip to content

Commit fe5753e

Browse files
committed
Update version
1 parent d8b4d4d commit fe5753e

File tree

7 files changed

+29
-26
lines changed

7 files changed

+29
-26
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
*.user
2-
*.exe
32

43
.vs
4+
.vscode
5+
.idea
6+
57
bin
68
obj
7-
packages
8-
.idea

Prometheus.Client.MetricServer.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.26228.4
@@ -18,7 +18,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1818
.gitignore = .gitignore
1919
appveyor.yml = appveyor.yml
2020
LICENSE = LICENSE
21-
pack.ps1 = pack.ps1
21+
pack.sh = pack.sh
2222
Prometheus.Client.MetricServer.snk = Prometheus.Client.MetricServer.snk
2323
README.md = README.md
2424
EndProjectSection

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Prometheus.Client.MetricServer
22

3-
[![MyGet](https://img.shields.io/myget/phnx47-beta/vpre/Prometheus.Client.MetricServer.svg)](https://www.myget.org/feed/phnx47-beta/package/nuget/Prometheus.Client.MetricServer)
3+
[![MyGet](https://img.shields.io/myget/prometheus-client-net/vpre/Prometheus.Client.MetricServer.svg?label=myget)](https://www.myget.org/feed/prometheus-client-net/package/nuget/Prometheus.Client.MetricServer)
44
[![NuGet](https://img.shields.io/nuget/v/Prometheus.Client.MetricServer.svg)](https://www.nuget.org/packages/Prometheus.Client.MetricServer)
55
[![NuGet](https://img.shields.io/nuget/dt/Prometheus.Client.MetricServer.svg)](https://www.nuget.org/packages/Prometheus.Client.MetricServer)
6+
[![Gitter](https://img.shields.io/gitter/room/PrometheusClientNet/community.svg)](https://gitter.im/PrometheusClientNet/community)
67

78
[![Build status](https://ci.appveyor.com/api/projects/status/ea3w0pycgyqqwd1o/branch/master?svg=true)](https://ci.appveyor.com/project/PrometheusClientNet/prometheus-client-metricserver/branch/master)
89
[![AppVeyor tests](https://img.shields.io/appveyor/tests/PrometheusClientNet/prometheus-client-metricserver.svg)](https://ci.appveyor.com/project/PrometheusClientNet/prometheus-client-metricserver/build/tests)
@@ -14,9 +15,9 @@ Extension for [Prometheus.Client](https://github.com/PrometheusClientNet/Prometh
1415

1516
dotnet add package Prometheus.Client.MetricServer
1617

17-
#### Quik start:
18+
#### Quick start:
1819

19-
There are [Examples](https://github.com/phnx47/Prometheus.Client.Examples/tree/master/MetricServer)
20+
There are [Examples](https://github.com/PrometheusClientNet/Prometheus.Client.Examples/tree/master/MetricServer)
2021

2122
```csharp
2223

appveyor.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
version: '{build}-{branch}'
2-
image: Visual Studio 2017
1+
version: '{branch}-build{build}'
2+
image: Ubuntu1804
33

44
skip_commits:
55
files:
66
- '**/*.md'
77

88
build_script:
9-
- pwsh: dotnet build -c Release
9+
- sh: dotnet build -c Release
1010

1111
test_script:
12-
- pwsh: dotnet test ./tests/Prometheus.Client.MetricServer.NetCore.Tests -c Release --no-build
12+
- sh: dotnet test -c Release --no-build
1313

1414
after_test:
15-
- pwsh: .\pack.ps1
15+
- sh: chmod +x pack.sh && ./pack.sh
1616

1717
artifacts:
1818
- path: '**\artifacts\nuget\*.nupkg'
@@ -25,14 +25,14 @@ deploy:
2525
api_key:
2626
secure: vbPWVWUYJ4zSn7fQ621uITPR99Q2s+bx36nE97IUOFrjgjAkMSJ9KOoFTXTGPAl1
2727
on:
28-
appveyor_repo_tag: true
28+
APPVEYOR_REPO_TAG: true
2929

3030
- provider: NuGet
31-
server: https://www.myget.org/F/phnx47-beta/api/v2/package
31+
server: https://www.myget.org/F/prometheus-client-net/api/v2/package
3232
api_key:
33-
secure: Smuwoi47XyX6b6x66VpPnnL96F3cl1nukALrFnZo1Oony38dzouByG7pnt6DX4HT
34-
symbol_server: https://www.myget.org/F/phnx47-beta/symbols/api/v2/package
33+
secure: DvXZQgy0wcMjR87Zt1qBB9YaDmEiAAiylRxVFfnvkYmfD+oYUetgCi1B036DJZGF
34+
symbol_server: https://www.myget.org/F/prometheus-client-net/symbols/api/v2/package
3535
artifact: MyGet
3636
on:
3737
branch: master
38-
appveyor_repo_tag: false
38+
APPVEYOR_REPO_TAG: false

pack.ps1

Lines changed: 0 additions & 7 deletions
This file was deleted.

pack.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
if ${APPVEYOR_REPO_TAG} == "true" ; then
4+
echo "Pack for NuGet"
5+
dotnet pack ${APPVEYOR_BUILD_FOLDER}/src/Prometheus.Client.MetricServer -c Release --include-symbols --no-build -o artifacts/nuget
6+
else
7+
echo "Pack for MyGet"
8+
dotnet pack ${APPVEYOR_BUILD_FOLDER}/src/Prometheus.Client.MetricServer -c Release --include-symbols --no-build --version-suffix build${APPVEYOR_BUILD_NUMBER} -o artifacts/myget
9+
fi

src/Prometheus.Client.MetricServer/Prometheus.Client.MetricServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Description>MetricServer for the Prometheus.Client</Description>
44
<Copyright>2019 © Sergey Kuznetsov</Copyright>
55
<AssemblyTitle>Prometheus.Client.MetricServer</AssemblyTitle>
6-
<VersionPrefix>3.0.0</VersionPrefix>
6+
<VersionPrefix>3.0.0-rc1</VersionPrefix>
77
<Authors>Sergey Kuznetsov</Authors>
88
<TargetFrameworks>netstandard1.3;netstandard2.0;netcoreapp2.2</TargetFrameworks>
99
<AssemblyName>Prometheus.Client.MetricServer</AssemblyName>

0 commit comments

Comments
 (0)