Fix nightly builds ()

This commit is contained in:
Rushmore Mushambi 2024-04-16 11:08:04 +02:00 committed by GitHub
parent dc669b78e3
commit 64da2d8ee3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ on:
required: true
type: string
description: "The github ref of this nightly version (i.e. main, 1234567)"
default: main
default: 1.x
publish:
required: false
type: boolean

View file

@ -626,7 +626,7 @@ jobs:
sed -i "0,/surrealdb-core/s//surrealdb-core-${{ inputs.environment }}/" core/Cargo.toml
# Patch lib dependency
sed -i "s#package = \"surrealdb-core\"#package = \"surrealdb-core-${{ inputs.environment }}\"#" lib/Cargo.toml
sed -i "s#path = \"\.\./core\", package = \"surrealdb-core\"#path = \"../core\", package = \"surrealdb-core-${{ inputs.environment }}\"#" lib/Cargo.toml
# Patch the description
sed -i "s#^description = \".*\"#description = \"A ${{ inputs.environment }} release of the surrealdb crate\"#" lib/Cargo.toml