Skip to content

Commit 83094a8

Browse files
committed
change version in Cargo.toml
1 parent 3ffe38d commit 83094a8

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ jobs:
8282
with:
8383
path: artifacts
8484

85-
- name: Determine if pre-release
86-
id: check_prerelease
85+
- name: Determine if pre-release and strip prefix
86+
id: release_info
8787
run: |
8888
RAW_TAG="${{ github.ref_name }}"
8989
VERSION="${RAW_TAG#release-}"
90-
91-
# If the remaining version string contains a hyphen, it's a pre-release
90+
91+
# Output the clean version to use as the Release Title
92+
echo "version=$VERSION" >> $GITHUB_OUTPUT
93+
9294
if [[ "$VERSION" == *-* ]]; then
9395
echo "is_prerelease=true" >> $GITHUB_OUTPUT
9496
else
@@ -98,8 +100,9 @@ jobs:
98100
- name: Create Draft Release
99101
uses: softprops/action-gh-release@v2
100102
with:
103+
name: ${{ steps.release_info.outputs.version }}
101104
draft: true
102-
prerelease: ${{ steps.check_prerelease.outputs.is_prerelease == 'true' }}
105+
prerelease: ${{ steps.release_info.outputs.is_prerelease == 'true' }}
103106
generate_release_notes: true
104107
files: artifacts/*/*
105108

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

application/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "wings-rs"
33
rust-version = { workspace = true }
4-
version = "0.24.9"
4+
version = "1.0.0-pre.1"
55
edition = "2024"
66

77
[dependencies]

0 commit comments

Comments
 (0)