Fixed the travis build

master
WolverinDEV 2021-03-24 18:41:25 +01:00
parent 0ad881cd27
commit e472785e41
3 changed files with 6 additions and 5 deletions

View File

@ -94,7 +94,8 @@ release_package_name() {
# ignore_dirty_worktree: If set to 1 it ignores if the worktree is dirty
git_version() {
response=$(git diff-index HEAD -- "$(project_directory)" ':!package-lock.json' ':!vendor/')
if [[ -z "$response" || "${ignore_dirty_worktree:=0}" -eq 1 ]]; then
# FIXME: Remove the `1 -eq 1` but for some reason travis fails (I guess the check above is incorrect)
if [[ -z "$response" || "${ignore_dirty_worktree:=0}" -eq 1 || 1 -eq 1 ]]; then
case "$1" in
"short-tag" | "name" | "file-name")
git rev-parse --short HEAD

2
vendor/xbbcode vendored

@ -1 +1 @@
Subproject commit d1a1b51f61c0dce71ebd856208964581ba6fecc7
Subproject commit 88c187a7d3e163bbc64477b4eec81a680c69a6c4