-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
DATE=$(date +%Y-%m-%d) | ||
TWITTER_NAME="Fulcrum" | ||
VERSION="1.7.0" | ||
REPO="https://github.com/cculianu/Fulcrum" | ||
CHECKSUM_SOURCE="https://github.com/cculianu/Fulcrum/releases/tag/v${VERSION}" | ||
PROJECT="Fulcrum" | ||
SHA256=$(shasum -a 256 Fulcrum | cut -f 1 -d ' ') | ||
|
||
# Note GITHUB_ environment variables are populated by Github Actions | ||
ARTIFACT_BASEURL="https://github.com/${GITHUB_REPOSITORY}/raw" | ||
ARTIFACT_BRANCH=${GITHUB_REF_NAME} | ||
|
||
ENTRY_TO_APPEND="<li><a href='${REPO}/releases/tag/${VERSION}'>${DATE}</a> | <a href='${URL}' class='project-name'>${PROJECT}</a> | <a href='${REPO}/releases/tag/${VERSION}'>${VERSION}</a> | <a href='${CHECKSUM_SOURCE}'> factory ${SHA256} </a>| <a href='${ARTIFACT_BASEURL}/${ARTIFACT_BRANCH}/${PROJECT}/${PROJECT}-${VERSION}-video.webm'>video proof</a> | <a href='https://github.com/coinkite/bitcoinbinary.org/blob/main/${PROJECT}/artifacts.sh' class="bot">build bot</a></li>" | ||
|
||
echo ${ENTRY_TO_APPEND} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Pull in version numbers from artifacts.sh | ||
eval "$(grep VERSION artifacts.sh)" | ||
|
||
if [ ! -e fulcrum ]; then | ||
# Checkout source and submodules | ||
git clone --progress https://github.com/cculianu/Fulcrum.git | ||
fi | ||
|
||
cd Fulcrum | ||
git checkout v${VERSION} | ||
qmake | ||
make -j5 | ||
|
||
# Add delay for results to be printed and recorded | ||
sleep 10 |