Created
December 6, 2022 13:58
-
-
Save burakince/6e5ede159f72207a622478af471da7f8 to your computer and use it in GitHub Desktop.
Getting HiveMQ Custom Extension file name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PROJECT_NAME=$(cat settings.gradle.kts | grep rootProject.name | awk '{print $3}' | tr -d '"') | |
VERSION=$(cat gradle.properties | grep version= | head -1 | tr -d "version=") | |
FILE_NAME=$PROJECT_NAME-$VERSION.zip | |
echo $FILE_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment