Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit a6a603a

Browse files
remove sourcelink
1 parent 6a9bc33 commit a6a603a

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM microsoft/dotnet:2.1.403-sdk-alpine3.7 AS build
2-
ARG TRAVIS_OS_NAME
32
ARG MYGET_API_KEY
3+
ARG MINVER_BUILD_METADATA
44

55
RUN apk add --no-cache \
66
nodejs \
@@ -23,6 +23,10 @@ WORKDIR /docs
2323

2424
COPY ./docs/package.json ./docs/yarn.lock ./
2525

26+
WORKDIR /.git
27+
28+
COPY ./.git .
29+
2630
WORKDIR /build
2731

2832
COPY ./build/build.csproj .
@@ -33,7 +37,7 @@ COPY ./build .
3337

3438
WORKDIR /
3539

36-
RUN TRAVIS_OS_NAME=$TRAVIS_OS_NAME \
40+
RUN MINVER_BUILD_METADATA=$MINVER_BUILD_METADATA \
3741
MYGET_API_KEY=$MYGET_API_KEY \
3842
dotnet run --project build/build.csproj
3943

build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
set -e
33

44
DOCKERTAG=${TRAVIS_TAG:-latest}
5+
BUILD_NUMBER=${TRAVIS_BUILD_NUMBER:-0}
6+
COMMIT=${TRAVIS_PULL_REQUEST_SHA:-${TRAVIS_COMMIT:-unknown}}
7+
MINVER_BUILD_METADATA="build.${BUILD_NUMBER}.${COMMIT}"
58

69
docker build \
7-
--build-arg TRAVIS_OS_NAME=$TRAVIS_OS_NAME \
10+
--build-arg MINVER_BUILD_METADATA=$MINVER_BUILD_METADATA \
811
--build-arg MYGET_API_KEY=$MYGET_API_KEY \
912
--tag sql-stream-store-server:${DOCKERTAG} \
1013
.

src/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<PackageTags>cqrs;event-sourcing;event-store;stream-store</PackageTags>
99
</PropertyGroup>
1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
1211
<PackageReference Include="MinVer" Version="1.0.0-alpha.*" />
1312
</ItemGroup>
1413
</Project>

0 commit comments

Comments
 (0)