Skip to content

Commit a9ad358

Browse files
committed
Add LICENSE file to release binary packages
1 parent e2567a5 commit a9ad358

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,8 @@ jobs:
9191
PKG_STAGING="${{ env.CICD_INTERMEDIATES_DIR }}/package"
9292
ARCHIVE_DIR="${PKG_STAGING}/${PKG_BASENAME}/"
9393
mkdir -p "${ARCHIVE_DIR}"
94-
cp "${{ steps.strip.outputs.BIN_PATH }}" "$ARCHIVE_DIR"
95-
96-
ls -l ${{ env.CICD_INTERMEDIATES_DIR }}
97-
ls -lR ${{ env.CICD_INTERMEDIATES_DIR }}/package
98-
echo "${PKG_STAGING}" end test
99-
100-
tar -C "${PKG_STAGING}/${PKG_BASENAME}" -cvzf "${PKG_STAGING}/${PKG_NAME}" "${PROJECT_NAME}"
94+
cp "${{ steps.strip.outputs.BIN_PATH }}" LICENSE "$ARCHIVE_DIR"
95+
tar -C "${PKG_STAGING}/${PKG_BASENAME}" -cvzf "${PKG_STAGING}/${PKG_NAME}" "${PROJECT_NAME}" LICENSE
10196
10297
# Let subsequent steps know where to find the compressed package
10398
echo ::set-output name=PKG_PATH::"${PKG_STAGING}/${PKG_NAME}"
@@ -114,6 +109,5 @@ jobs:
114109
with:
115110
files: |
116111
${{ steps.package.outputs.PKG_PATH }}
117-
LICENSE
118112
env:
119113
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
0.5.4
1+
0.5.6
22
=====
33

4-
* Add LICENSE file to distribution
4+
* Add LICENSE file to distribution in binary package
5+
6+
0.5.4
7+
=====
58

69
* Add AUR installation info
710

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lowcharts"
3-
version = "0.5.4"
3+
version = "0.5.6"
44
authors = ["JuanLeon Lahoz <[email protected]>"]
55
edition = "2018"
66
description = "Tool to draw low-resolution graphs in terminal"

0 commit comments

Comments
 (0)