Skip to content

Commit 926f506

Browse files
committed
chore: Updated build script.
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
1 parent ac55259 commit 926f506

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
CLANG ?= clang
22
CFLAGS ?=
33
OS ?=
4+
REMOTE ?= origin
45

56
CFLAGS += -Os -g3 -Wall -Wextra -Wno-unused-parameter
67
ifneq ($(OS),Windows_NT)
@@ -72,15 +73,15 @@ github-release:
7273
open $$(gh release view release/${RELEASE_V} --json url -t "{{.url}}")
7374

7475
postversion: release
75-
git fetch origin
76-
git push
76+
git fetch $(REMOTE)
77+
git push $(REMOTE)
7778
git checkout release --
7879
cp -rf release/* ./
7980
rm -rf build release
8081
git add include src *.gyp *.gypi CMakeLists.txt README.md LICENSE libllhttp.pc.in cmake/llhttpConfig.cmake.in
81-
git commit -a -m "release: $(RELEASE)"
82+
git commit -a -n -m "release: $(RELEASE)"
8283
git tag "release/v$(RELEASE)"
83-
git push && git push --tags
84+
git push $(REMOTE) && git push $(REMOTE) --tags
8485
git checkout main
8586

8687
generate:

0 commit comments

Comments
 (0)