Skip to content

Commit 93e8f3f

Browse files
committed
0.7 build changes need to apply for the tag as well
1 parent 15fdc8a commit 93e8f3f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/checks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ on:
2323
env:
2424
RUST_LOG: debug
2525
CARGO_TERM_COLOR: always
26-
MSRV: ${{ github.ref == 'refs/heads/0.7' && '1.63.0' || '1.75.0' }}
27-
HACK: hack --package neo4rs --each-feature --exclude-features unstable-serde-packstream-format,unstable-bolt-protocol-impl-v2,unstable-streaming-summary
26+
V_0_7: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '1' || '0' }}
27+
MSRV: ${{ env.V_0_7 == '1' && '1.63.0' || '1.75.0' }}
28+
HACK: hack --package neo4rs --each-feature ${{ env.V_0_7 == '1' && '' || '--exclude-features unstable-serde-packstream-format,unstable-bolt-protocol-impl-v2,unstable-streaming-summary' }}
2829

2930

3031
jobs:

.github/workflows/create-release-pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ on:
2020

2121
env:
2222
RUSTUP_TOOLCHAIN: stable
23-
MSRV: ${{ github.ref == 'refs/heads/0.7' && '1.63.0' || '1.75.0' }}
23+
V_0_7: ${{ (github.ref == 'refs/heads/0.7' || startsWith(github.ref, 'refs/tags/v0.7.')) && '1' || '0' }}
24+
MSRV: ${{ env.V_0_7 == '1' && '1.63.0' || '1.75.0' }}
2425

2526
jobs:
2627
make-release-pr:
@@ -75,4 +76,4 @@ jobs:
7576
version: ${{ inputs.version }}
7677
crate-name: ${{ inputs.crate }}
7778
check-semver: true
78-
base-branch: ${{ github.ref == 'refs/heads/0.7' && '0.7' || 'main' }}
79+
base-branch: ${{ env.V_0_7 == '1' && '0.7' || 'main' }}

0 commit comments

Comments
 (0)