Commit Graph

52 Commits

Author SHA1 Message Date
GeckoEidechse 05a32ee30e
Bump DiscordRPC plugin to v6 (#587) 2023-11-15 17:06:32 +01:00
GeckoEidechse e595fa0a83
Use long form for cli args (#565)
* Replace `mkdir`'s `-p` with `--parents`

* Replace `rm`'s `-d` with `--dir`

* Replace `mv`'s `-v` with `--verbose`

* Replace `sed`'s `-i` with `--in-place`

* Replace `wget`'s `-O` with `--output-document`
2023-11-07 16:42:36 +01:00
GeckoEidechse 937a1cdbba
Bump DiscordRPC plugin to v5 (#583)
Bump DiscordRPC plugin to v5 which corresponds to the first version that supports plugins v3
2023-11-06 02:32:12 +01:00
GeckoEidechse de87f41b45
Delete bash scripts in project root as well (#578)
Delete bash scripts in project root as well to prevent wait script from being included in release files
2023-11-02 13:32:13 +01:00
GeckoEidechse c829a40caa Pass missing version number to wait script 2023-11-02 12:49:34 +01:00
GeckoEidechse a11a37e710
Checkout repo files as first step (#577)
Checkout the files from this repo first in order to have the bash
script ready that is needed to block launcher files download.
2023-11-02 12:14:51 +01:00
GeckoEidechse 72e8e50d77 Fix bash script file name
I changed the filename but forgot to update it in the CI config
2023-11-02 12:02:09 +01:00
GeckoEidechse 8fb1f315bb
Add step to wait for launcher files to be ready (#576)
Adds a small bash script and calls it in CI to block the CI from progressing until the launcher release files are uploaded.
2023-11-02 11:51:52 +01:00
GeckoEidechse 4dccb376ec Trim trailing whitespaces 2023-10-30 21:05:31 +01:00
GeckoEidechse c447dcd04e
Bump NorthstarNavs to v2 (#512)
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2023-07-13 18:30:40 +02:00
F1F7Y 1171a5fd2d
Download launcher from release instead of rebuilding (#498) 2023-06-22 23:10:57 +02:00
pg9182 6132fc2c7d
Fix typo in 7a7ca84bd2 (#461) (#465) 2023-04-22 23:18:09 +02:00
pg9182 7a7ca84bd2
Remove stray release dir from release zip (#461)
For some reason there's a stray empty `release` folder inside the release zip that shouldn't be there.
2023-04-22 22:58:14 +02:00
pg9182 7db68d5169
Show SHA-512 checksum of release zip (#462)
This will print SHA-512 checksum of release zip
2023-04-22 22:55:59 +02:00
pg9182 aa4d230051
Update DiscordRPC to v4 (#460)
Requires plugins v2.
2023-04-22 03:11:46 +02:00
GeckoEidechse aeb3e5ee17
Bump download-artifact action to v3 (#447)
v2 is being deprecated
2023-04-07 17:34:36 +02:00
GeckoEidechse 20ae5c9786
Grab pre-compiled DiscordRPC plugin (#437)
Instead of recompiling on each release
2023-03-13 20:31:01 +01:00
GeckoEidechse 8d7b5e4515
Add step to create release draft and upload zip (#432)
* Add step to create release draft and upload zip

* Skip draft creation for release candidates

* Zip folder before upload and give permission

The action we use can only deal with single files, not folders

* Use `env.NORTHSTAR_VERSION`

* Check if tags start with `v`
2023-03-07 21:34:17 +01:00
GeckoEidechse c6c55ff014
Use tagged version of Navmeshes (#380)
This allows for explicit updates of NorthstarNavs
2022-12-03 01:31:24 +01:00
GeckoEidechse fd1c3d98ea
Use tagged version of DiscordRPC (#379)
This way builds are more reproducible as specific versions of
NorthstarDiscordRPC can be set.
2022-12-02 23:16:23 +01:00
GeckoEidechse 28b5f4f99f
Update actions to newest version (#371)
Version bump as v2 used NodeJS 12 which is being deprecated on runners.
2022-11-27 14:02:16 +01:00
GeckoEidechse f015f27561
Fix regex breaking on multi-digit version numbers (#350)
Resolves issue with rc version number not having leading zeroes stripped
2022-10-18 02:05:48 +02:00
GeckoEidechse bfd587df40
Delete startup args txt files (#267)
* Delete startup args txt files

As per https://github.com/R2Northstar/NorthstarLauncher/pull/99 we no longer need them.
NorthstarLauncher should just auto-create them when missing.

* Strip deleting `ns_startup*.txt`

Files were deleted with previous commit so deleting them is no longer needed.
2022-09-14 13:11:12 +02:00
GeckoEidechse 91da7d7d1b
Update paths in CI config (#332)
Some directories got changed as part of refactor
2022-09-01 01:24:27 +02:00
GeckoEidechse dc05ebfa9c
Enforce tags start with `v` for CI to run (#331)
Basically just a small safeguard to prevent running CI on accidentally
pushed invalid tag.
2022-09-01 01:17:23 +02:00
GeckoEidechse 88673385a0
Publish release-candidates to Thunderstore (#313)
* Publish release-candidates to Thunderstore

under different package name
instead of not publishing at all

* Strip leading zeroes from last semver digit

* Use alternative description for rc package

NorthstarReleaseCandidate should have a mention in there that it's a
release candidate

* Add additional comments

* Add disclaimer add the top of README for rc
2022-07-19 00:58:20 +02:00
GeckoEidechse d8ad8f12f8
Strip rc suffix from version number properly (#268)
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-05-13 02:12:53 +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
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
GeckoEidechse 763ae0328c
Set hardcoded version number on release build (#262)
* Set hardcoded version number on release build
* Update version number in new header file
2022-04-28 00:46:50 +02:00
Barichello 41be6f5b25 Add manual workflow trigger 2022-04-23 12:43:38 -03:00
Barichello ac5614e56b Skip thunderstore upload on release candidates 2022-04-23 12:43:38 -03:00
Barichello 833dbf8ad3 Update thunderstore mod description and icon 2022-04-23 12:43:38 -03:00
Barichello 45d4bc13e2 Add "build-thunderstore-package" job 2022-04-23 12:43:38 -03:00
pg9182 50ea7b365f
Include Discord SDK in launcher builds (#224)
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
2022-03-26 22:41:49 +01:00
GeckoEidechse f0366dde7f
Update CI to work with change in source version number
We switched from ending in 0 to ending in 1, the latter indicating a dev version
2022-03-26 01:39:50 +01:00
Barichello 58ecb08051
Verbose move 2022-03-15 23:48:17 -03:00
Barichello 97955a3ad2
Build plugins 2022-03-15 23:36:31 -03:00
Barichello bd23be9dc3
Use working-directory 2022-03-15 22:26:58 -03:00
Barichello b01c7391b3
Upload debug build artifact 2022-03-04 19:55:10 -03:00
Barichello c981c89b49
Generate md5sum txt file of mod files 2022-02-17 18:14:07 -03:00
Barichello 3eb0166c6a
Rename CI stages 2022-02-17 18:14:06 -03:00
pg9182 7f329cd741 Include NorthstarStubs in releases
updates R2Northstar/NorthstarLauncher#79
2022-02-17 10:27:25 -03:00
Barichello 31a5919aa4
Update trim in FILEVERSION variable 2022-02-06 14:41:54 -03:00
Barichello 1ffd7a0194
Use CI to update mod version info 2022-02-01 20:35:13 -03:00
Barichello 922a481776
Update version info before build 2022-01-19 16:15:10 -03:00
Barichello 36e10c10a7
Update to trigger on tag push 2022-01-17 09:15:48 -03:00