Skip to content

Commit 6103d2b

Browse files
committed
Release 1.2.1, proper time
1 parent 73da806 commit 6103d2b

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ COPY --from=builder /go/src/antsankov/go-live/bin/go-live /usr/bin/go-live
1818
RUN chmod +x /usr/bin/go-live
1919

2020
ARG VERSION=none
21-
LABEL version=1.2.0
21+
LABEL version=1.2.1
2222

2323
WORKDIR /workdir
2424

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# go-live
44
[![Go Report](https://goreportcard.com/badge/github.com/antsankov/go-live)](https://goreportcard.com/report/github.com/antsankov/go-live)
5-
[![GoDoc](https://godoc.org/github.com/antsankov/go-live?status.svg)](https://pkg.go.dev/github.com/antsankov/go-live@v1.2.0?tab=overview)
5+
[![GoDoc](https://godoc.org/github.com/antsankov/go-live?status.svg)](https://pkg.go.dev/github.com/antsankov/go-live@v1.2.1?tab=overview)
66
[![Snap Package](https://snapcraft.io/go-live/badge.svg)](https://snapcraft.io/go-live)
77

88

@@ -35,26 +35,26 @@ Based on JavaScript's famous `live-server` utility. Supports Linux, Windows, and
3535

3636
### MacOS x64 (without Brew)
3737

38-
`curl -LJO https://github.com/antsankov/go-live/releases/download/v1.2.0/go-live-mac-x64.zip && unzip go-live-mac-x64.zip && mv go-live /usr/local/bin/go-live && chmod +x /usr/local/bin/go-live && go-live`
38+
`curl -LJO https://github.com/antsankov/go-live/releases/download/v1.2.1/go-live-mac-x64.zip && unzip go-live-mac-x64.zip && mv go-live /usr/local/bin/go-live && chmod +x /usr/local/bin/go-live && go-live`
3939

4040
### MacOS Apple Silicon/M1/M2 (without Brew)
4141

42-
`curl -LJO https://github.com/antsankov/go-live/releases/download/v1.2.0/go-live-mac-arm64.zip && unzip go-live-mac-arm64.zip && mv go-live /usr/local/bin/go-live && chmod +x /usr/local/bin/go-live && go-live`
42+
`curl -LJO https://github.com/antsankov/go-live/releases/download/v1.2.1/go-live-mac-arm64.zip && unzip go-live-mac-arm64.zip && mv go-live /usr/local/bin/go-live && chmod +x /usr/local/bin/go-live && go-live`
4343

4444
### Linux (using Snapcraft)
4545
`snap install go-live`
4646

4747
### Linux x32 (Ubuntu/RHEL/etc.):
48-
`wget https://github.com/antsankov/go-live/releases/download/v1.2.0/go-live-linux-x32 -O /usr/bin/go-live && chmod +x /usr/bin/go-live`
48+
`wget https://github.com/antsankov/go-live/releases/download/v1.2.1/go-live-linux-x32 -O /usr/bin/go-live && chmod +x /usr/bin/go-live`
4949

5050
### Linux x64 (Ubuntu/RHEL/etc.):
51-
`wget https://github.com/antsankov/go-live/releases/download/v1.2.0/go-live-linux-x64 -O /usr/bin/go-live && chmod +x /usr/bin/go-live`
51+
`wget https://github.com/antsankov/go-live/releases/download/v1.2.1/go-live-linux-x64 -O /usr/bin/go-live && chmod +x /usr/bin/go-live`
5252

5353
### Linux ARM32 (Ubuntu/RHEL/etc.):
54-
`wget https://github.com/antsankov/go-live/releases/download/v1.2.0/go-live-linux-arm32 -O /usr/bin/go-live && chmod +x /usr/bin/go-live`
54+
`wget https://github.com/antsankov/go-live/releases/download/v1.2.1/go-live-linux-arm32 -O /usr/bin/go-live && chmod +x /usr/bin/go-live`
5555

5656
### Linux ARM64 (Ubuntu/RHEL/etc.):
57-
`wget https://github.com/antsankov/go-live/releases/download/v1.2.0/go-live-linux-arm64 -O /usr/bin/go-live && chmod +x /usr/bin/go-live`
57+
`wget https://github.com/antsankov/go-live/releases/download/v1.2.1/go-live-linux-arm64 -O /usr/bin/go-live && chmod +x /usr/bin/go-live`
5858

5959
### Docker
6060
`docker pull antsankov/go-live`
@@ -65,7 +65,7 @@ To run (will serve current directory on port 9000):
6565

6666
### Windows
6767

68-
[Download Here and Execute](https://github.com/antsankov/go-live/releases/tag/v1.2.0)
68+
[Download Here and Execute](https://github.com/antsankov/go-live/releases/tag/v1.2.1)
6969

7070
- Chocolatey coming soon! (Help wanted)
7171
- Make sure when running that all necessary ports are open and user has permissions (Help wanted)
@@ -93,7 +93,7 @@ make cross-compile && ls release/
9393
- You need to have a valid developer certficate - check `security find-identity -p codesigning`. If it is not valid, see https://developer.apple.com/forums/thread/86161 -- you need to check the info of the developer cert to see if the "Organizational Unit" certificate is installed.
9494
- For gon to work, you need to use the hacked version https://github.com/mitchellh/gon/issues/64#issuecomment-1336311570 to release on Apple Silicon
9595
- The "ac-password" in gon is an App specfic password for your Apple ID.
96-
- For docker (remember for version and for latest): `sudo docker build -t antsankov/go-live:v1.2.0 .` and `sudo docker push antsankov/go-live:v1.2.0`
96+
- For docker (remember for version and for latest): `sudo docker build -t antsankov/go-live:v1.2.1 .` and `sudo docker push antsankov/go-live:v1.2.1`
9797
## Flags
9898
```
9999
-h Print help message for go-live

lib/printer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// VERSION of Package
10-
const VERSION = "1.2.0"
10+
const VERSION = "1.2.1"
1111

1212
func printStartMessage(path string, port string) {
1313
// Clear the screen.
@@ -47,7 +47,7 @@ func Printer(dir string, port string) {
4747

4848
printStartMessage(path, port)
4949
for {
50-
time.Sleep(100 * time.Millisecond)
50+
time.Sleep(500 * time.Millisecond)
5151
printServerInformation(path, port)
5252
// Move to the timeSince row, and clear it.
5353
fmt.Print("\033[8;1H")

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
// VERSION of Package
14-
const VERSION = "1.2.0"
14+
const VERSION = "1.2.1"
1515

1616
func main() {
1717
var _quiet bool

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: go-live
2-
version: '1.2.0'
2+
version: '1.2.1'
33
summary: A very lightweight CLI utility to start serving a file directory
44
description: |
55
go-live can be used for local web development, production static-site serving, or as a network file server. By default go-live serves the directory it is executed in.

0 commit comments

Comments
 (0)