Skip to content

Instantly share code, notes, and snippets.

@burakince
Created December 6, 2022 13:58
Show Gist options
  • Save burakince/6e5ede159f72207a622478af471da7f8 to your computer and use it in GitHub Desktop.
Save burakince/6e5ede159f72207a622478af471da7f8 to your computer and use it in GitHub Desktop.
Getting HiveMQ Custom Extension file name
#!/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