Updated publish stage to be called build, updated README.md with some instructions on how to install a release version for linux

This commit is contained in:
Kwoth
2021-08-24 23:57:44 +02:00
parent 20a7e03c9e
commit 2cb7243b10
3 changed files with 28 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
image: mcr.microsoft.com/dotnet/sdk:5.0
stages:
- publish
- build
- test
- upload
- release
@@ -15,8 +15,8 @@ variables:
WIN_X64_RELEASE: "$CI_COMMIT_TAG-windows-x64-build.zip"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/NadekoBot-build/${CI_COMMIT_TAG}"
publish:
stage: publish
build:
stage: build
script:
- "dotnet publish -c Release -r linux-x64 -o $LINUX_X64_OUTPUT_DIR src/NadekoBot/NadekoBot.csproj"
- "dotnet publish -c Release -r win7-x64 -o $WIN_X64_OUTPUT_DIR src/NadekoBot/NadekoBot.csproj"