adding TAG_VERSION
This commit is contained in:
parent
eb36b25c8b
commit
3c738c9b4e
|
@ -10,6 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
package_version: ${{ steps.get_pkg_version.outputs.package_version }}
|
||||
tag_version: ${{ steps.get_pkg_version.outputs.package_version }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
|
@ -21,6 +22,7 @@ jobs:
|
|||
PKG_VERSION=${TAG_VERSION:1}
|
||||
|
||||
echo "::set-output name=package_version::$PKG_VERSION"
|
||||
echo "::set-output name=tag_version::$TAG_VERSION"
|
||||
|
||||
|
||||
linux:
|
||||
|
@ -38,11 +40,12 @@ jobs:
|
|||
- name: Get snap release asset
|
||||
uses: dsaltares/fetch-gh-release-asset@master
|
||||
with:
|
||||
version: ${{ github.ref }}
|
||||
version: ${{ env.TAG_VERSION }}
|
||||
file: bitwarden_${{ env.PKG_VERSION }}_amd64.snap
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env:
|
||||
PKG_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
TAG_VERSION: ${{ needs.setup.outputs.tag_version }}
|
||||
|
||||
- name: testing
|
||||
run: ls -atlh
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "bitwarden",
|
||||
"productName": "Bitwarden",
|
||||
"description": "A secure and free password manager for all of your devices.",
|
||||
"version": "1.24.6",
|
||||
"version": "1.24.7",
|
||||
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
||||
"homepage": "https://bitwarden.com",
|
||||
"license": "GPL-3.0",
|
||||
|
|
Loading…
Reference in New Issue