Skip to content

Commit 34b98a9

Browse files
committed
Prepare for 0.10.2 release
1 parent 64bcfa0 commit 34b98a9

5 files changed

Lines changed: 16 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ All notable changes to this project will be documented in this file.
44
**ATTN**: This project uses [semantic versioning](http://semver.org/).
55

66
## [Unreleased]
7+
8+
## [v0.10.2] - 2022-03-09
79
### Added
810
- Added `--timeout, -T` flag, allowed to set dial and execute timeout.
11+
- Added Makefile.
912

1013
## [v0.10.1] - 2021-11-13
1114
### Fixed
@@ -106,7 +109,8 @@ than entry in configuration file.
106109
### Added
107110
- Initial implementation.
108111

109-
[Unreleased]: https://github.com/gorcon/rcon-cli/compare/v0.10.1...HEAD
112+
[Unreleased]: https://github.com/gorcon/rcon-cli/compare/v0.10.2...HEAD
113+
[v0.10.2]: https://github.com/gorcon/rcon-cli/compare/v0.10.1...v0.10.2
110114
[v0.10.1]: https://github.com/gorcon/rcon-cli/compare/v0.10.0...v0.10.1
111115
[v0.10.0]: https://github.com/gorcon/rcon-cli/compare/v0.9.1...v0.10.0
112116
[v0.9.1]: https://github.com/gorcon/rcon-cli/compare/v0.9.0...v0.9.1

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ Use `^C` to terminate or type command `:q` to exit.
7575
docker run -it --rm outdead/rcon ./rcon [options] [commands...]
7676
```
7777

78+
You can add your config file as volume:
79+
```bash
80+
docker run -it --rm \
81+
-v /path/to/rcon-local.yaml:/rcon.yaml \
82+
outdead/rcon ./rcon -c rcon.yaml -e default players
83+
```
84+
7885
## Configuration file
7986
For more convenient use, the ability to create the `rcon.yaml` configuration file provided. You can save the host and port of the remote server and its password. If the configuration file exists, and the default block filled in it, then at startup the `-a` and `-p` flags can be omitted. Examples:
8087
```bash

scripts/docker/docker.mk

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
include build/docker/.env
22
export
33

4-
## If the first argument is "docker-deploy"...
5-
#ifeq (docker-run, $(firstword $(MAKECMDGOALS)))
6-
# # use the rest as arguments for "run"
7-
# RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
8-
# # ...and turn them into do-nothing targets
9-
# $(eval $(RUN_ARGS):;@:)
10-
#endif
11-
124
IMAGES := `docker images --filter "dangling=true" -q --no-trunc`
135

146
docker-clean:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
VERSION="$1"
4-
if [ -z "${VERSION}" ]; then echo "VERSION is not set. Use ./build.sh 0.0.0" >&2; exit 1; fi
4+
if [ -z "${VERSION}" ]; then echo "VERSION is not set. Use ./compile.sh 0.0.0" >&2; exit 1; fi
55

66
RELEASE_DIR=".tmp/release"
77

scripts/local/local.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# If the first argument is "docker-deploy"...
2-
ifeq (build, $(firstword $(MAKECMDGOALS)))
2+
ifeq (compile, $(firstword $(MAKECMDGOALS)))
33
# use the rest as arguments for "run"
44
RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
55
# ...and turn them into do-nothing targets
66
$(eval $(RUN_ARGS):;@:)
77
endif
88

9-
build:
10-
sh scripts/local/build.sh $(RUN_ARGS)
9+
compile:
10+
sh scripts/local/compile.sh $(RUN_ARGS)
1111

1212
run:
1313
sh scripts/local/run.sh

0 commit comments

Comments
 (0)