1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

adding TAG_VERSION

This commit is contained in:
Joseph Flinn 2021-01-26 23:35:25 +00:00
parent eb36b25c8b
commit 3c738c9b4e
2 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
package_version: ${{ steps.get_pkg_version.outputs.package_version }} package_version: ${{ steps.get_pkg_version.outputs.package_version }}
tag_version: ${{ steps.get_pkg_version.outputs.package_version }}
steps: steps:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -21,6 +22,7 @@ jobs:
PKG_VERSION=${TAG_VERSION:1} PKG_VERSION=${TAG_VERSION:1}
echo "::set-output name=package_version::$PKG_VERSION" echo "::set-output name=package_version::$PKG_VERSION"
echo "::set-output name=tag_version::$TAG_VERSION"
linux: linux:
@ -38,11 +40,12 @@ jobs:
- name: Get snap release asset - name: Get snap release asset
uses: dsaltares/fetch-gh-release-asset@master uses: dsaltares/fetch-gh-release-asset@master
with: with:
version: ${{ github.ref }} version: ${{ env.TAG_VERSION }}
file: bitwarden_${{ env.PKG_VERSION }}_amd64.snap file: bitwarden_${{ env.PKG_VERSION }}_amd64.snap
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
env: env:
PKG_VERSION: ${{ needs.setup.outputs.package_version }} PKG_VERSION: ${{ needs.setup.outputs.package_version }}
TAG_VERSION: ${{ needs.setup.outputs.tag_version }}
- name: testing - name: testing
run: ls -atlh run: ls -atlh

View File

@ -2,7 +2,7 @@
"name": "bitwarden", "name": "bitwarden",
"productName": "Bitwarden", "productName": "Bitwarden",
"description": "A secure and free password manager for all of your devices.", "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)", "author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
"homepage": "https://bitwarden.com", "homepage": "https://bitwarden.com",
"license": "GPL-3.0", "license": "GPL-3.0",