Skip to content

Commit

Permalink
fix: 修正初始化缺失文件
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Nov 13, 2023
1 parent 515de6b commit 7803e14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-offine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Create Tag
run: |
sed -i "s@VERSION=v.*@VERSION=v${{ steps.get-version.outputs.version }}@" install.sh
sed -i "s@VERSION=v.*@VERSION=${{ steps.get-version.outputs.version }}@" install.sh
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git tag -a "${{ steps.get-version.outputs.version }}" -m "Release ${{ steps.get-version.outputs.version }}" || true
Expand Down
3 changes: 3 additions & 0 deletions prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,12 @@ for architecture in x86_64 aarch64 s390x ppc64le loongarch64; do
wget -q "${COMPOSE_BIN_URL}" -O "${BUILD_OFFLINE_DIR}/docker-compose"
fi

cp -f docker.service "${BUILD_DIR}"
cp -f docker.service "${BUILD_OFFLINE_DIR}"
cp -f install.sh "${BUILD_DIR}"
cp -f install.sh "${BUILD_OFFLINE_DIR}"
chmod +x "${BUILD_OFFLINE_DIR}/docker-compose"
chmod +x "${BUILD_DIR}/install.sh" "${BUILD_OFFLINE_DIR}/install.sh"

cd "build/${APP_VERSION}" || exit 1
tar -zcf "${BUILD_NAME}.tar.gz" "${BUILD_NAME}"
Expand Down

0 comments on commit 7803e14

Please sign in to comment.