1
mirror of https://github.com/R2Northstar/Northstar synced 2025-09-25 11:30:50 +02:00

Compare commits

..

7 Commits

Author SHA1 Message Date
GeckoEidechse
08266412c8 Strip rc suffix from version number properly
Previously the digit of the rc as well as the dash would remain
E.g.: `-rc2` -> `-2`
This resulted in it being subtracted from the patch version digit
E.g.: `v1.7.0-rc1` turns into `1,7,0-1`.

This commit strips the whole `-rcX` part of the version number in CI

Closes #265
2022-04-30 12:46:27 +02:00
Barichello
59d0566b37 Add missing sudo 2022-04-28 17:39:13 -03:00
GeckoEidechse
cc1ec86138 Fix trying to move tcli from wrong location
The extract tar still contains the version number in the name
2022-04-28 17:39:13 -03:00
F1F7Y
d93d51cf73 Add back r2ds.bat (#264) 2022-04-28 20:35:13 +02:00
Barichello
4bd0a75b82 Add navmesh repository to release jobs 2022-04-28 12:46:43 -03:00
Barichello
a52f2a193f Remove thunderstore files from release zip 2022-04-28 12:46:43 -03:00
Barichello
61dbcbd3f8 Update tcli download name 2022-04-28 12:46:37 -03:00
2 changed files with 15 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ jobs:
working-directory: northstar-launcher
run: |
sed -i 's/DEV/${{ env.NORTHSTAR_VERSION }}/g' LauncherInjector/resources.rc
FILEVERSION=$(echo ${{ env.NORTHSTAR_VERSION }} | tr '.' ',' | tr -d '[:alpha:]')
FILEVERSION=$(echo ${{ env.NORTHSTAR_VERSION }} | tr '.' ',' | sed -E 's/-rc[0-9]+//' | tr -d '[:alpha:]')
sed -i "s/0,0,0,1/${FILEVERSION}/g" NorthstarDedicatedTest/ns_version.h
- name: Build
working-directory: northstar-launcher
@@ -109,10 +109,20 @@ jobs:
mv -v northstar-launcher/* northstar
rsync -avr --exclude="Northstar.Coop" --exclude=".git*" northstar-mods/. northstar/R2Northstar/mods
- name: Cleanup root Northstar repository files
- name: Checkout Navmesh repository
uses: actions/checkout@v2
with:
repository: R2Northstar/NorthstarNavs
path: northstar-navs
- name: Navmeshes setup
run: |
rm -rf northstar-launcher
cd northstar && rm -rf .git .github .gitignore *.md LICENSE thunderstore .ci.env.example
mkdir -p northstar/R2Northstar/mods/Northstar.CustomServers/mod/maps
mv -v northstar-navs/graphs northstar/R2Northstar/mods/Northstar.CustomServers/mod/maps
mv -v northstar-navs/navmesh northstar/R2Northstar/mods/Northstar.CustomServers/mod/maps
- name: Cleanup root Northstar repository files
working-directory: northstar
run: |
rm -rf .git .github .gitignore *.md LICENSE thunderstore .ci.env.example
- name: Upload
uses: actions/upload-artifact@v2
with:

1
release/r2ds.bat Normal file
View File

@@ -0,0 +1 @@
NorthstarLauncher.exe -dedicated -multiple