mirror of
https://github.com/moul/sshportal.git
synced 2025-09-07 13:14:49 +08:00
v1.3.0
This commit is contained in:
parent
31a8cef59f
commit
f6ba06298d
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
# Changelog
|
||||
|
||||
## master (unreleased)
|
||||
## v1.3.0 (2017-11-23)
|
||||
|
||||
* More details in 'ls' commands
|
||||
* Add 'host update' command (fix [#2](https://github.com/moul/sshportal/issues/2))
|
||||
|
|
|
@ -203,7 +203,7 @@ An [automated build is setup on the Docker Hub](https://hub.docker.com/r/moul/ss
|
|||
```console
|
||||
# Start a server in background
|
||||
# mount `pwd` to persist the sqlite database file
|
||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.2.0
|
||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.3.0
|
||||
|
||||
# check logs (mandatory on first run to get the administrator invite token)
|
||||
docker logs -f sshportal
|
||||
|
@ -212,7 +212,7 @@ docker logs -f sshportal
|
|||
The easier way to upgrade sshportal is to do the following:
|
||||
|
||||
```sh
|
||||
# we consider you were using the version v1.1.0 and you want to use the new version v1.2.0
|
||||
# we consider you were using the version v1.2.0 and you want to use the new version v1.3.0
|
||||
|
||||
# stop and rename the last working container + backup the database
|
||||
docker stop sshportal
|
||||
|
@ -220,7 +220,7 @@ docker rename sshportal sshportal_old
|
|||
cp sshportal.db sshportal.db.bkp
|
||||
|
||||
# run the new version
|
||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.2.0
|
||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.3.0
|
||||
# check the logs for migration or cross-version incompabitility errors
|
||||
docker logs -f sshportal
|
||||
```
|
||||
|
|
2
main.go
2
main.go
|
@ -20,7 +20,7 @@ import (
|
|||
|
||||
var (
|
||||
// VERSION should be updated by hand at each release
|
||||
VERSION = "1.2.0+dev"
|
||||
VERSION = "1.3.0"
|
||||
// GIT_TAG will be overwritten automatically by the build system
|
||||
GIT_TAG string
|
||||
// GIT_SHA will be overwritten automatically by the build system
|
||||
|
|
Loading…
Add table
Reference in a new issue