forked from ethereum/solidity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ethereum#1073 from ethereum/develop
Release merge for 0.4.1
- Loading branch information
Showing
8 changed files
with
14 additions
and
12 deletions.
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
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ VER=$(cat CMakeLists.txt | grep 'set(PROJECT_VERSION' | sed -e 's/.*set(PROJECT_ | |
test -n "$VER" | ||
VER="v$VER" | ||
COMMIT=$(git rev-parse --short HEAD) | ||
DATE=$(date --date="$(git log -1 --date=iso --format=%ad HEAD)" --utc +%F) | ||
DATE=$(date --date="$(git log -1 --date=iso --format=%ad HEAD)" --utc +%Y.%m.%d) | ||
|
||
ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key" | ||
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv" | ||
|
@@ -52,14 +52,14 @@ git config user.email "[email protected]" | |
git checkout -B gh-pages origin/gh-pages | ||
git clean -f -d -x | ||
# We only want one release per day and we do not want to push the same commit twice. | ||
if ls ./bin/soljson-"$VER-$DATE"-*.js || ls ./bin/soljson-*-"$COMMIT.js" | ||
if ls ./bin/soljson-"$VER-nightly.$DATE"-*.js || ls ./bin/soljson-*"commit.$COMMIT.js" | ||
then | ||
echo "Not publishing, we already published this version today." | ||
exit 0 | ||
fi | ||
|
||
# This file is assumed to be the product of the build_emscripten.sh script. | ||
cp ../soljson.js ./bin/"soljson-$VER-$DATE-$COMMIT.js" | ||
cp ../soljson.js ./bin/"soljson-$VER-nightly.$DATE+commit.$COMMIT.js" | ||
node ./update | ||
cd bin | ||
LATEST=$(ls -r soljson-v* | head -n 1) | ||
|
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 |
---|---|---|
|
@@ -52,7 +52,7 @@ static char const* registrarCode = R"DELIMITER( | |
// @authors: | ||
// Gav Wood <[email protected]> | ||
pragma solidity ^0.3.5; | ||
pragma solidity ^0.4.0; | ||
contract Registrar { | ||
event Changed(string indexed 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
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