Skip to content

Commit aaf76ed

Browse files
committed
chore: bump version to 0.1.3 and fix release workflow
1 parent 16f2ea3 commit aaf76ed

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/create_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,18 @@ jobs:
5656
LAST_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
5757
if [[ -n "$LAST_TAG" ]]; then
5858
CHANGELOG=$(git log --pretty=format:"- %s (%h)" $LAST_TAG..HEAD)
59+
COMPARE_LINK="**Full Changelog**: https://github.com/${{ github.repository }}/compare/$LAST_TAG...${{ steps.get_version.outputs.VERSION }}"
5960
else
6061
CHANGELOG=$(git log --pretty=format:"- %s (%h)" --max-count=20)
62+
COMPARE_LINK="_This is the first release._"
6163
fi
6264
6365
cat > changelog.md << EOF
6466
## What's Changed
6567
6668
$CHANGELOG
6769
68-
**Full Changelog**: https://github.com/${{ github.repository }}/compare/$LAST_TAG...${{ steps.get_version.outputs.VERSION }}
70+
$COMPARE_LINK
6971
EOF
7072
7173
- name: Create Release

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.21)
22

33
project(laya
4-
VERSION 0.1.2
4+
VERSION 0.1.3
55
DESCRIPTION "Modern C++20 wrapper for SDL3"
66
LANGUAGES CXX
77
)

0 commit comments

Comments
 (0)