Skip to content

Commit f455ec9

Browse files
committed
解决 init ijk repo 问题
1 parent 69dd739 commit f455ec9

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/publish-github-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# git describe --tags --always | awk -F . '{printf "RELEASE_VERSION=%s.%d",$1,$2+1}' | xargs > constants.env
2121
# git describe --tags --always | awk -F - '{printf "RELEASE_VERSION=V1.0-%s",$NF}' | xargs > constants.env
2222
d=$(date +'%y%m%d%H%M%S')
23-
grep IJK_VERSION= init-cfgs/ijk | awk -v d="$d" -F = '{printf "RELEASE_VERSION=%s-%s",$2,d}' | xargs > constants.env
23+
grep IJK_VERSION= version.sh | awk -v d="$d" -F = '{printf "RELEASE_VERSION=%s-%s",$2,d}' | xargs > constants.env
2424
echo 'EDITION=github' >> constants.env
2525
cat constants.env
2626
- name: Export Env

.github/workflows/publish-ijk-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# git describe --tags --always | awk -F . '{printf "RELEASE_VERSION=%s.%d",$1,$2+1}' | xargs > constants.env
2121
# git describe --tags --always | awk -F - '{printf "RELEASE_VERSION=V1.0-%s",$NF}' | xargs > constants.env
2222
d=$(date +'%y%m%d%H%M%S')
23-
grep IJK_VERSION= init-cfgs/ijk | awk -v d="$d" -F = '{printf "RELEASE_VERSION=%s-%s",$2,d}' | xargs > constants.env
23+
grep IJK_VERSION= version.sh | awk -v d="$d" -F = '{printf "RELEASE_VERSION=%s-%s",$2,d}' | xargs > constants.env
2424
echo 'EDITION=ijk' >> constants.env
2525
cat constants.env
2626
- name: Export Env

init-any.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if [[ "x$LIBS" == "x" || "$LIBS" == "all" ]]; then
5151
fi
5252

5353
if [[ "$PLAT" == 'ios' || "$PLAT" == 'macos' || "$PLAT" == 'all' ]]; then
54-
source "$c_dir/init-cfgs/ijk"
54+
source "$c_dir/version.sh"
5555
for lib in $LIBS
5656
do
5757
echo "===[init $lib]===================="
File renamed without changes.

0 commit comments

Comments
 (0)