mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-12 21:30:30 +05:30
chore: read from first arg in changelog.sh script
This commit is contained in:
parent
e6b61734c9
commit
cb6da0e873
@ -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