Commit e062034c authored by nanahira's avatar nanahira

add linux thing

parent 28b42177
Pipeline #2494 passed with stages
in 2 minutes and 3 seconds
...@@ -15,14 +15,17 @@ build: ...@@ -15,14 +15,17 @@ build:
image: mono image: mono
script: script:
- sed -i '/download.mono-project.com/d' /etc/apt/sources.list /etc/apt/sources.list.d/* - sed -i '/download.mono-project.com/d' /etc/apt/sources.list /etc/apt/sources.list.d/*
- apt update && apt -y install p7zip-full - apt update && apt -y install p7zip-full tar
- msbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.6 - msbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.6
- mv -f bin/Release WindBot - mv -f bin/Release WindBot
- rm -rf WindBot/WindBot.exe.config - rm -rf WindBot/WindBot.exe.config
- mv -f BotWrapper/bin/Release/Bot.exe . - mv -f BotWrapper/bin/Release/Bot.exe .
- mv -f BotWrapper/bin/Release/bot.conf . - mv -f BotWrapper/bin/Release/bot.conf .
- mv -f BotWrapper/BotWrapper.sh ./bot
- chmod +x ./bot
- mkdir dist - mkdir dist
- 7z a -mx9 dist/WindBot.7z WindBot Bot.exe bot.conf - 7z a -mx9 dist/WindBot.7z WindBot Bot.exe bot.conf
- tar zcvf dist/windbot.tar.gz WindBot bot.conf bot
artifacts: artifacts:
paths: paths:
- dist/ - dist/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment