Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Apr 17, 2024
1 parent 7efcf79 commit ea84c3c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: all test clean build install frontend sourcemod
VERSION=v0.6.2
VERSION=v0.6.3
GO_CMD=go
GO_BUILD=$(GO_CMD) build
DEBUG_FLAGS = -gcflags "all=-N -l"
Expand Down
18 changes: 11 additions & 7 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,33 @@ instructions:
### Compile from source

Precompiled binaries will be provided once the project is in a more stable state. Its recommended to use the docker
images as they are currently the only tested usecase.
images as they are currently the only tested usecase.

- [make](https://www.gnu.org/software/make/) Not strictly required but provides predefined build commands
- [minio](https://min.io/) You will need to have set up minio access/secret keys. Other s3 compatible options should work but are untested
- [minio](https://min.io/) You will need to have set up minio access/secret keys. Other s3 compatible options should
work but are untested
- [golang 1.22+](https://golang.org/) Version >=1.22 is required.
- [PostgreSQL](https://www.postgresql.org/) Version 15 is the only version currently tested against. However, anything 10 and up should work, ymmv.
- [PostgreSQL](https://www.postgresql.org/) Version 15 is the only version currently tested against. However, anything
10 and up should work, ymmv.
- [PostGIS](https://postgis.net/) extension is also used for some GIS functionality.
- [NodeJS >=18.17.1](https://nodejs.org/en/) To build frontend
- [pnpm](https://pnpm.io/) JS package manager
- [Sourcemod 1.12](https://www.sourcemod.net/) - Sourcemod installation

Basic steps to build the binary packages:

If you do not already have sourcemod, you can download and extract sourcemod to a directory of your choosing with the following:
If you do not already have sourcemod, you can download and extract sourcemod to a directory of your choosing with the
following:

mkdir -p ~/sourcemod && wget https://sm.alliedmods.net/smdrop/1.12/sourcemod-1.12.0-git7110-linux.tar.gz -O ~/sourcemod/sm.tar.gz && tar xvfz ~/sourcemod/sm.tar.gz -C ~/sourcemod

Clone the gbans repository

git clone [email protected]:leighmacdonald/gbans.git && cd gbans

Build the projects, replace SM_ROOT with the path to your sourcemod installation directory (the folder with addons and cfg folders inside).

Build the projects, replace SM_ROOT with the path to your sourcemod installation directory (the folder with addons and
cfg folders inside).

SM_ROOT=~/sourcemod make

You should now have a binary located at `./build/$platform/gbans`
Expand All @@ -62,7 +66,7 @@ sudo docker run -d --restart unless-stopped \
--dns=1.1.1.1 \
-v /home/ubuntu/gbans/gbans.yml:/app/gbans.yml:ro \
--name gbans \
ghcr.io/leighmacdonald/gbans:v0.6.2
ghcr.io/leighmacdonald/gbans:v0.6.3
```

Substitute `/home/ubuntu/gbans/gbans.yml` with the location of your config.
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gbans",
"version": "v0.6.2",
"version": "v0.6.3",
"description": "gbans",
"repository": "github.com/leighmacdonald/gbans",
"author": "Leigh MacDonald",
Expand Down
3 changes: 2 additions & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react-swc';
import { defineConfig } from 'vite';
import { createHtmlPlugin } from 'vite-plugin-html';


// https://vitejs.dev/config/
export default defineConfig({
base: '/',
Expand Down Expand Up @@ -48,7 +49,7 @@ export default defineConfig({
inject: {
data: {
title: 'Uncletopia',
build_version: 'v0.6.2',
build_version: 'v0.6.3',
discord_link_id: 'caQKCWFMrN',
asset_url: 'https://assets.uncletopia.com',
bucket_demo: 'demos',
Expand Down

0 comments on commit ea84c3c

Please sign in to comment.