Skip to content

Commit 56f042e

Browse files
authored
Merge pull request tronprotocol#4911 from forfreeday/feature/update_start.sh
feat(shell): update start.sh
2 parents 8332b8f + 0d941a9 commit 56f042e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ rebuildManifest() {
383383
$JAVACMD -jar $ARCHIVE_JAR -d $REBUILD_DIR -m $REBUILD_MANIFEST_SIZE -b $REBUILD_BATCH_SIZE
384384
else
385385
echo 'info: download the rebuild manifest plugin from the github'
386-
download $RELEASE_URL/download/GreatVoyage-v4.3.0/$ARCHIVE_JAR $ARCHIVE_JAR
386+
local latest=$(`echo getLatestReleaseVersion`)
387+
download $RELEASE_URL/download/GreatVoyage-v"$latest"/$ARCHIVE_JAR $ARCHIVE_JAR
387388
if [[ $download == 0 ]]; then
388389
echo 'info: download success, rebuild manifest'
389390
$JAVACMD -jar $ARCHIVE_JAR $REBUILD_DIR -m $REBUILD_MANIFEST_SIZE -b $REBUILD_BATCH_SIZE

0 commit comments

Comments
 (0)