mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +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
|
## Usage: ./changelog.sh <text>
|
||||||
! [ -f "$1" ] && echo "File doesn't exist" && exit 1
|
|
||||||
|
|
||||||
# read the file
|
TEXT="$1"
|
||||||
TEXT=$(<"$1")
|
|
||||||
|
|
||||||
# the link containing the full commit history
|
# the link containing the full commit history
|
||||||
FULLCHANGELOG=$(echo "$TEXT{@}" | tail -n 1)
|
FULLCHANGELOG=$(echo "$TEXT{@}" | tail -n 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user