mirror of
https://github.com/inventree/InvenTree.git
synced 2026-05-30 21:25:36 +00:00
chore(backend): also release packages to stable in the new packager.io repo (#12023)
* new packager setup: also release to stable * fix missing param
This commit is contained in:
@@ -227,7 +227,7 @@ jobs:
|
|||||||
INVENTREE_PLUGIN_FILE=/opt/inventree/plugins.txt
|
INVENTREE_PLUGIN_FILE=/opt/inventree/plugins.txt
|
||||||
INVENTREE_CONFIG_FILE=/opt/inventree/config.yaml
|
INVENTREE_CONFIG_FILE=/opt/inventree/config.yaml
|
||||||
APP_REPO=inventree/InvenTree
|
APP_REPO=inventree/InvenTree
|
||||||
- name: Publish to go.packager.io
|
- name: Publish to go.packager.io - current release channel
|
||||||
uses: pkgr/action/publish@3bce081ae512c5020856e237d37b3f5479d4aa71 # pin@main
|
uses: pkgr/action/publish@3bce081ae512c5020856e237d37b3f5479d4aa71 # pin@main
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
@@ -235,10 +235,18 @@ jobs:
|
|||||||
repository: inventree/InvenTree
|
repository: inventree/InvenTree
|
||||||
channel: ${{ env.pkg_channel }}
|
channel: ${{ env.pkg_channel }}
|
||||||
file: ${{ steps.package.outputs.package_path }}
|
file: ${{ steps.package.outputs.package_path }}
|
||||||
|
- name: Publish to go.packager.io - stable release channel
|
||||||
|
uses: pkgr/action/publish@3bce081ae512c5020856e237d37b3f5479d4aa71 # pin@main
|
||||||
|
with:
|
||||||
|
target: ${{ matrix.target }}
|
||||||
|
token: ${{ secrets.PACKAGER_RELEASE_TOKEN }}
|
||||||
|
repository: inventree/InvenTree
|
||||||
|
channel: stable
|
||||||
|
file: ${{ steps.package.outputs.package_path }}
|
||||||
- name: Publish to artifact
|
- name: Publish to artifact
|
||||||
run: gh release upload ${REF} ${PACKAGE_PATH}#${PACKAGE_NAME}
|
run: gh release upload ${REF} ${PACKAGE_PATH}#${PACKAGE_NAME}
|
||||||
env:
|
env:
|
||||||
REF: ${{ github.ref_name }}
|
REF: ${{ github.ref_name }}
|
||||||
PACKAGE_PATH: ${{ steps.package.outputs.package_path }}
|
PACKAGE_PATH: ${{ steps.package.outputs.package_path }}
|
||||||
PACKAGE_NAME: ${{ matrix.target }}-{{ steps.setup.outputs.version }}.tar.gz
|
PACKAGE_NAME: ${{ matrix.target }}-${{ steps.setup.outputs.version }}.tar.gz
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user