Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ jobs:
run: rustup update stable && rustup default stable

- name: Install cargo-edit
run: cargo install cargo-edit
run: cargo install cargo-edit@0.13.13

# So cargo-edit sees correct version of eppo_core inside nested workspaces
- name: Override eppo_core
run: |
mkdir -p ~/.cargo/
echo "[patch.crates-io.eppo_core]" >> "${CARGO_HOME:-$HOME/.cargo}/config.toml"
echo "path = '$PWD/eppo_core'" >> "${CARGO_HOME:-$HOME/.cargo}/config.toml"
Comment on lines +45 to +48

- name: Create Version Pull Request
uses: changesets/action@v1
Expand Down
3 changes: 2 additions & 1 deletion elixir-sdk/postversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ VERSION="$(jq -r .version ./package.json)"

(cd native/sdk_core && cargo set-version -p sdk_core "$VERSION")

sed -e "s/\\(^ *version:\\).*/\1 \"$VERSION\",/" -i mix.exs
sed -e "s/\\(^ *version:\\).*/\1 \"$VERSION\",/" mix.exs > mix.exs.tmp
mv mix.exs.tmp mix.exs
3 changes: 2 additions & 1 deletion ruby-sdk/postversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ VERSION="$(jq -r .version ./package.json)"
cargo set-version -p eppo_client "$VERSION"

# Update VERSION in version.rb
sed -e "s/VERSION = \".*\"/VERSION = \"$VERSION\"/" -i ./lib/eppo_client/version.rb
sed -e "s/VERSION = \".*\"/VERSION = \"$VERSION\"/" ./lib/eppo_client/version.rb > ./lib/eppo_client/version.rb.tmp
mv ./lib/eppo_client/version.rb.tmp ./lib/eppo_client/version.rb
Loading