Fix nightly builds (#3879)
This commit is contained in:
parent
dc669b78e3
commit
64da2d8ee3
2 changed files with 2 additions and 2 deletions
.github/workflows
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue