Skip to content

Commit

Permalink
chore: Fixed license path and CMake minimum version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed Jan 13, 2025
1 parent b1272a1 commit 324f999
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.25.0)
cmake_policy(SET CMP0069 NEW)

project(llhttp VERSION _RELEASE_)
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ release: clean generate
sed s/_RELEASE_/$(RELEASE)/ CMakeLists.txt > release/CMakeLists.txt
cp -rf libllhttp.pc.in release/
cp -rf README.md release/
cp -rf LICENSE-MIT release/
cp -rf LICENSE release/

github-release:
@echo "${RELEASE_V}" | grep -q -E "^v" || { echo "Please make sure version starts with \"v\"."; exit 1; }
Expand All @@ -74,7 +74,7 @@ postversion: release
git checkout release --
cp -rf release/* ./
rm -rf release
git add include src *.gyp *.gypi CMakeLists.txt README.md LICENSE-MIT libllhttp.pc.in
git add include src *.gyp *.gypi CMakeLists.txt README.md LICENSE libllhttp.pc.in
git commit -a -m "release: $(RELEASE)"
git tag "release/v$(RELEASE)"
git push && git push --tags
Expand Down

0 comments on commit 324f999

Please sign in to comment.