mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
10 lines
476 B
Bash
Executable file
10 lines
476 B
Bash
Executable file
#!/bin/bash
|
|
|
|
word1=$(shuf -n 1 ${GITHUB_WORKSPACE}/automation_tools/codename_wordlist.txt)
|
|
capitalized_word1="$(tr '[:lower:]' '[:upper:]' <<< ${word1:0:1})${word1:1}"
|
|
word2=$(shuf -n 1 ${GITHUB_WORKSPACE}/automation_tools/codename_wordlist.txt)
|
|
capitalized_word2="$(tr '[:lower:]' '[:upper:]' <<< ${word2:0:1})${word2:1}"
|
|
result=$capitalized_word1$capitalized_word2
|
|
echo $result > ${GITHUB_WORKSPACE}/buildid
|
|
echo "BUILD_ID=$result" >> $GITHUB_ENV
|
|
echo "VersionID is $result" |