mirror of
https://github.com/moul/sshportal.git
synced 2025-03-10 14:26:43 +08:00
v1.7.0
This commit is contained in:
parent
1b52673603
commit
13c0726849
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## master (unreleased)
|
## v1.7.0 (2018-01-02)
|
||||||
|
|
||||||
Breaking changes:
|
Breaking changes:
|
||||||
* Use `sshportal server` instead of `sshportal` to start a new server (nothing to change if using the docker image)
|
* Use `sshportal server` instead of `sshportal` to start a new server (nothing to change if using the docker image)
|
||||||
|
|
|
@ -228,7 +228,7 @@ An [automated build is setup on the Docker Hub](https://hub.docker.com/r/moul/ss
|
||||||
```console
|
```console
|
||||||
# Start a server in background
|
# Start a server in background
|
||||||
# mount `pwd` to persist the sqlite database file
|
# mount `pwd` to persist the sqlite database file
|
||||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.6.0
|
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.7.0
|
||||||
|
|
||||||
# check logs (mandatory on first run to get the administrator invite token)
|
# check logs (mandatory on first run to get the administrator invite token)
|
||||||
docker logs -f sshportal
|
docker logs -f sshportal
|
||||||
|
@ -237,7 +237,7 @@ docker logs -f sshportal
|
||||||
The easier way to upgrade sshportal is to do the following:
|
The easier way to upgrade sshportal is to do the following:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# we consider you were using an old version and you want to use the new version v1.6.0
|
# we consider you were using an old version and you want to use the new version v1.7.0
|
||||||
|
|
||||||
# stop and rename the last working container + backup the database
|
# stop and rename the last working container + backup the database
|
||||||
docker stop sshportal
|
docker stop sshportal
|
||||||
|
@ -245,7 +245,7 @@ docker rename sshportal sshportal_old
|
||||||
cp sshportal.db sshportal.db.bkp
|
cp sshportal.db sshportal.db.bkp
|
||||||
|
|
||||||
# run the new version
|
# run the new version
|
||||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.6.0
|
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.7.0
|
||||||
# check the logs for migration or cross-version incompabitility errors
|
# check the logs for migration or cross-version incompabitility errors
|
||||||
docker logs -f sshportal
|
docker logs -f sshportal
|
||||||
```
|
```
|
||||||
|
|
2
main.go
2
main.go
|
@ -21,7 +21,7 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// Version should be updated by hand at each release
|
// Version should be updated by hand at each release
|
||||||
Version = "1.6.0+dev"
|
Version = "1.7.0"
|
||||||
// GitTag will be overwritten automatically by the build system
|
// GitTag will be overwritten automatically by the build system
|
||||||
GitTag string
|
GitTag string
|
||||||
// GitSha will be overwritten automatically by the build system
|
// GitSha will be overwritten automatically by the build system
|
||||||
|
|
Loading…
Reference in a new issue