place version in filename
Some checks failed
Build and Package OPKG / Build for aarch64-3.10 (push) Failing after 50s
Build and Package OPKG / Build for armv5-3.2 (push) Failing after 43s
Build and Package OPKG / Build for armv7-2.6 (push) Failing after 44s
Build and Package OPKG / Build for armv7-3.2 (push) Failing after 41s
Build and Package OPKG / Build for mips-3.4 (push) Failing after 49s
Build and Package OPKG / Build for mipsel-3.4 (push) Failing after 46s

This commit is contained in:
Vladimir Avtsenov 2025-02-15 01:10:28 +03:00
parent 867788dc4c
commit cc8d3ede3c
2 changed files with 4 additions and 4 deletions

View File

@ -61,8 +61,8 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: magitrickle_${{ matrix.arch }}.ipk.zip name: magitrickle_${{ matrix.arch }}
path: .build/magitrickle_${{ matrix.arch }}.ipk path: .build/magitrickle_*_${{ matrix.arch }}.ipk
if-no-files-found: error if-no-files-found: error
compression-level: 0 compression-level: 0
@ -73,5 +73,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
files: |- files: |-
.build/*.ipk .build/magitrickle_*_${{ matrix.arch }}.ipk
api_key: '${{secrets.RELEASE_TOKEN}}' api_key: '${{secrets.RELEASE_TOKEN}}'

View File

@ -44,4 +44,4 @@ package:
@cp -r ./opt $(PKG_DIR)/data/ @cp -r ./opt $(PKG_DIR)/data/
@fakeroot sh -c "tar -C $(PKG_DIR)/control -czvf $(PKG_DIR)/control.tar.gz ." @fakeroot sh -c "tar -C $(PKG_DIR)/control -czvf $(PKG_DIR)/control.tar.gz ."
@fakeroot sh -c "tar -C $(PKG_DIR)/data -czvf $(PKG_DIR)/data.tar.gz ." @fakeroot sh -c "tar -C $(PKG_DIR)/data -czvf $(PKG_DIR)/data.tar.gz ."
@tar -C $(PKG_DIR) -czvf $(BUILD_DIR)/$(APP_NAME)_$(ARCH).ipk ./debian-binary ./control.tar.gz ./data.tar.gz @tar -C $(PKG_DIR) -czvf $(BUILD_DIR)/$(APP_NAME)_$(UPSTREAM_VERSION)$(OPKG_REVISION)_$(ARCH).ipk ./debian-binary ./control.tar.gz ./data.tar.gz