Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

Include original version in nightly version

+12 -10
+1 -10
.github/workflows/release-nightly.yaml
··· 81 81 - name: Update versions 82 82 shell: bash 83 83 run: | 84 - version=0.0.0-nightly-$(date +"%y%m%d") 85 - 86 - sed "s/^version = \".*\"\$/version = \"$version\"/" compiler-core/Cargo.toml > /tmp/gleam-cargo.toml 87 - mv /tmp/gleam-cargo.toml compiler-core/Cargo.toml 88 - 89 - sed "s/^version = \".*\"\$/version = \"$version\"/" compiler-wasm/Cargo.toml > /tmp/gleam-cargo.toml 90 - mv /tmp/gleam-cargo.toml compiler-wasm/Cargo.toml 91 - 92 - sed "s/^version = \".*\"\$/version = \"$version\"/" compiler-cli/Cargo.toml > /tmp/gleam-cargo.toml 93 - mv /tmp/gleam-cargo.toml compiler-cli/Cargo.toml 84 + ./bin/add-nightly-suffix-to-versions.sh 94 85 95 86 - name: Install Rust toolchain 96 87 uses: actions-rs/toolchain@v1
+11
bin/add-nightly-suffix-to-versions.sh
··· 1 + #!/bin/sh 2 + 3 + # 4 + # Add the `-nightly-YYYYMMDD` suffix the version of all Rust crates in the 5 + # workspace. Used by the nightly build. 6 + # 7 + 8 + set -e 9 + 10 + find . -name Cargo.toml -exec \ 11 + sed -i "" -e "s/^version = \"\([^\"]*\)\"$/version = \"\1-nightly-$(date +%Y%m%d)\"/" {} \;