Skip to content

Commit

Permalink
Do not pack ipk files to tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimkurb committed Nov 11, 2024
1 parent 3e350f4 commit 0d7cca6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,14 @@ jobs:
docker run --rm --user root -i --mount source=entware-home,target=/home/me -v $(pwd):/target -w /home/me/Entware --name builder builder find ./bin -type f -name 'keenetic-pbr*.ipk' -exec cp -v {} /target/output \;
rm -rf keenetic-pbr || true
mkdir keenetic-pbr
bash -c "cp -r ./output/* keenetic-pbr"
bash -c "cp -r ./output/*.ipk keenetic-pbr-$VERSION-$RELEASE-$SHA-${{ matrix.arch }}-entware.ipk"
tar -czvf keenetic-pbr-$VERSION-$RELEASE-$SHA-${{ matrix.arch }}-entware.tar.gz keenetic-pbr
- name: Upload packages
if: steps.build.outcome == 'success'
uses: actions/upload-artifact@v4
with:
name: keenetic-pbr-entware-${{ matrix.arch }}
path: |
./**/keenetic-pbr*-entware.tar.gz
./**/keenetic-pbr*-entware.ipk
if-no-files-found: error

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_FULLVERSION:=$(PKG_VERSION)-$(PKG_RELEASE)

BINARY_NAME=keenetic-pbr
Expand Down

0 comments on commit 0d7cca6

Please sign in to comment.