Skip to content

Commit a8cae75

Browse files
committed
Bump to 1.7.3
1 parent 50823d5 commit a8cae75

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,26 @@ jobs:
2121
- name: Cross build (${{ matrix.target }})
2222
env:
2323
BUILD_TARGET: ${{ matrix.target }}
24-
run: |
25-
./scripts/cross-build.sh
26-
mv build/ttyd build/ttyd.${{ matrix.target }}
24+
run: ./scripts/cross-build.sh
25+
- uses: actions/upload-artifact@v3
26+
with:
27+
name: ttyd.${{ matrix.target }}
28+
path: build/ttyd*
29+
publish:
30+
needs: [build]
31+
runs-on: ubuntu-20.04
32+
steps:
33+
- uses: actions/checkout@v3
34+
- uses: actions/download-artifact@v3
35+
- run: |
36+
mkdir build
37+
for file in ttyd.*/*; do
38+
target=$(echo $file | awk -F/ '{print $1}')
39+
[[ $file == *.exe ]] && target="$target.exe"
40+
mv $file build/$target
41+
done
2742
- uses: ncipollo/release-action@v1
2843
with:
29-
artifacts: build/ttyd.${{ matrix.target }}
44+
artifacts: build/*
3045
allowUpdates: true
3146
draft: true

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ if(${CMAKE_VERSION} VERSION_LESS "3.12.0")
44
project(ttyd C)
55
set(PROJECT_VERSION_MAJOR "1")
66
set(PROJECT_VERSION_MINOR "7")
7-
set(PROJECT_VERSION_PATCH "2")
7+
set(PROJECT_VERSION_PATCH "3")
88
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
99
else()
1010
cmake_policy(SET CMP0048 NEW)
11-
project(ttyd VERSION 1.7.2 LANGUAGES C)
11+
project(ttyd VERSION 1.7.3 LANGUAGES C)
1212
endif()
1313

1414
find_package(Git)

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,9 @@ ttyd is a simple command-line tool for sharing terminal over the web.
5353
## Command-line Options
5454

5555
```
56-
ttyd is a tool for sharing terminal over the web
57-
5856
USAGE:
5957
ttyd [options] <command> [<arguments...>]
6058
61-
VERSION:
62-
1.7.2
63-
6459
OPTIONS:
6560
-p, --port Port to listen (default: 7681, use `0` for random port)
6661
-i, --interface Network interface to bind (eg: eth0), or UNIX domain socket path (eg: /var/run/ttyd.sock)
@@ -87,8 +82,6 @@ OPTIONS:
8782
-d, --debug Set log level (default: 7)
8883
-v, --version Print the version and exit
8984
-h, --help Print this text and exit
90-
91-
Visit https://github.com/tsl0922/ttyd to get more information and report bugs.
9285
```
9386

9487
Read the example usage on the [wiki](https://github.com/tsl0922/ttyd/wiki/Example-Usage).

0 commit comments

Comments
 (0)