| author | |
| committer | |
| log | a1b79ea5857a52332d9da49d261a7fd04e52a466 |
| tree | dd4092c25aae0c71db27ed71784fe50fc0a347d0 |
| parent | f7cbd92e6ca531fc19dce1f233b5c8ca0479eeb5 |
Cache the VERSION value for use with linux_on_mster_success.
This replaces 117c0460d3f5ff05d5e2c51c2aa376b56be13096 .2 files changed, 4 insertions(+), 1 deletions(-)
ci/zinc/linux_on_master_sucess.sh+1-1| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | |
| 3 | 3 | . ./ci/zinc/linux_base.sh |
| 4 | 4 | |
| 5 | VERSION=$($RELEASE_STAGING/zig version) | |
| 5 | VERSION=$(cat $WORKSPACE/env.version) | |
| 6 | 6 | |
| 7 | 7 | # Avoid leaking oauth token. |
| 8 | 8 | set +x |
ci/zinc/linux_package.sh+3| ... | ... | @@ -36,5 +36,8 @@ s3cmd put -P --add-header="cache-control: public, max-age=31536000, immutable" " |
| 36 | 36 | # Publish manifest. |
| 37 | 37 | s3cmd put -P --add-header="cache-control: max-age=0, must-revalidate" "$MANIFEST" "s3://ziglang.org/builds/$ARCH-linux-$VERSION.json" |
| 38 | 38 | |
| 39 | # Forward value to on_master_script | |
| 40 | echo "$VERSION" > $WORKSPACE/env.version | |
| 41 | ||
| 39 | 42 | # Explicit exit helps show last command duration. |
| 40 | 43 | exit |