mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Merge pull request #4449 from Bnyro/master
chore: read from first arg in changelog.sh script
This commit is contained in:
commit
48cc08e4f6
@ -1,8 +1,6 @@
|
||||
# check whether there's a file passed as argument
|
||||
! [ -f "$1" ] && echo "File doesn't exist" && exit 1
|
||||
## Usage: ./changelog.sh <text>
|
||||
|
||||
# read the file
|
||||
TEXT=$(<"$1")
|
||||
TEXT="$1"
|
||||
|
||||
# the link containing the full commit history
|
||||
FULLCHANGELOG=$(echo "$TEXT{@}" | tail -n 1)
|
||||
|
Loading…
Reference in New Issue
Block a user