Skip to content

Commit 9c91bf0

Browse files
committed
Store version file in expected format
1 parent dd75a82 commit 9c91bf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

share/github-backup-utils/ghe-backup-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
GHE_BACKUP_ROOT="$(pwd)"
1717

1818
# Get the version from the version file.
19-
BACKUP_UTILS_VERSION="$(cat share/github-backup-utils/version | sed 's/^v//')"
19+
BACKUP_UTILS_VERSION="$(cat share/github-backup-utils/version)"
2020

2121
# Add the bin and share/github-backup-utils dirs to PATH
2222
PATH="$GHE_BACKUP_ROOT/bin:$GHE_BACKUP_ROOT/share/github-backup-utils:$PATH"

share/github-backup-utils/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.0.1
1+
2.0.1

0 commit comments

Comments
 (0)