fix: more release bug
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -79,9 +79,11 @@ jobs:
|
|||||||
-o \
|
-o \
|
||||||
-name 'Libcore.xcframework' \
|
-name 'Libcore.xcframework' \
|
||||||
-o \
|
-o \
|
||||||
-name 'hiddify-service*' )
|
-name 'hiddify-service*' | sed 's/\.\///g')
|
||||||
|
|
||||||
tar -czvf hiddify-core-${{ matrix.job.target }}.tar.gz --transform='s,^./,,g' $files
|
|
||||||
|
echo tar -czvf hiddify-core-${{ matrix.job.target }}.tar.gz $files
|
||||||
|
tar -czvf hiddify-core-${{ matrix.job.target }}.tar.gz $files
|
||||||
|
|
||||||
working-directory: bin
|
working-directory: bin
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
|
|||||||
9
Makefile
9
Makefile
@@ -24,14 +24,13 @@ android: lib_install
|
|||||||
gomobile bind -v -androidapi=21 -javapkg=io.nekohasekai -libname=box -tags=$(TAGS) -trimpath -target=android -o $(BINDIR)/$(LIBNAME).aar github.com/sagernet/sing-box/experimental/libbox ./mobile
|
gomobile bind -v -androidapi=21 -javapkg=io.nekohasekai -libname=box -tags=$(TAGS) -trimpath -target=android -o $(BINDIR)/$(LIBNAME).aar github.com/sagernet/sing-box/experimental/libbox ./mobile
|
||||||
|
|
||||||
ios-full: lib_install
|
ios-full: lib_install
|
||||||
gomobile bind -v -target ios,iossimulator,tvos,tvossimulator,macos -libname=box -tags=$(TAGS),with_dhcp,with_low_memory,with_conntrack -trimpath -ldflags="-w -s" -o $(BINDIR)/$(PRODUCT_NAME).xcframework github.com/sagernet/sing-box/experimental/libbox ./mobile &&\
|
gomobile bind -v -target ios,iossimulator,tvos,tvossimulator,macos -libname=box -tags=$(TAGS),with_dhcp,with_low_memory,with_conntrack -trimpath -ldflags="-w -s" -o $(BINDIR)/$(PRODUCT_NAME).xcframework github.com/sagernet/sing-box/experimental/libbox ./mobile
|
||||||
mv $(BINDIR)/$(PRODUCT_NAME).xcframework $(BINDIR)/$(LIBNAME).xcframework &&\
|
mv $(BINDIR)/$(PRODUCT_NAME).xcframework $(BINDIR)/$(LIBNAME).xcframework
|
||||||
cp Libcore.podspec $(BINDIR)/$(LIBNAME).xcframework/
|
cp Libcore.podspec $(BINDIR)/$(LIBNAME).xcframework/
|
||||||
|
|
||||||
ios: lib_install
|
ios: lib_install
|
||||||
gomobile bind -v -target ios -libname=box -tags=$(TAGS),with_dhcp,with_low_memory,with_conntrack -trimpath -ldflags="-w -s" -o $(BINDIR)/$(PRODUCT_NAME).xcframework github.com/sagernet/sing-box/experimental/libbox ./mobile &&\
|
gomobile bind -v -target ios -libname=box -tags=$(TAGS),with_dhcp,with_low_memory,with_conntrack -trimpath -ldflags="-w -s" -o $(BINDIR)/Libcore.xcframework github.com/sagernet/sing-box/experimental/libbox ./mobile
|
||||||
mv $(BINDIR)/$(PRODUCT_NAME).xcframework $(BINDIR)/$(LIBNAME).xcframework &&\
|
cp Info.plist $(BINDIR)/Libcore.xcframework/
|
||||||
cp Info.plist $(BINDIR)/$(LIBNAME).xcframework/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user