Removing the old setup logic that no longer works (#974)
* Removing the old setup logic that no longer works * adding in formatting
This commit is contained in:
parent
2d68fe37a1
commit
1a6f283771
|
@ -21,7 +21,6 @@ jobs:
|
|||
- name: Create Deploy version vars
|
||||
id: create_tags
|
||||
run: |
|
||||
if ! [[ "${{ github.event_name }}" -eq "release" ]]; then
|
||||
case "${RELEASE_TAG_NAME_INPUT:0:1}" in
|
||||
v)
|
||||
echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV
|
||||
|
@ -39,16 +38,10 @@ jobs:
|
|||
exit 1
|
||||
;;
|
||||
esac
|
||||
else
|
||||
TAG_VERSION=$(echo ${{ github.ref }} | cut -d "/" -f 3)
|
||||
PKG_VERSION=${TAG_VERSION:1}
|
||||
|
||||
echo "::set-output name=package_version::$PKG_VERSION"
|
||||
echo "::set-output name=tag_version::$TAG_VERSION"
|
||||
fi
|
||||
env:
|
||||
RELEASE_TAG_NAME_INPUT: ${{ github.event.inputs.release_tag_name_input }}
|
||||
|
||||
|
||||
snap:
|
||||
name: Deploy Snap
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -84,6 +77,7 @@ jobs:
|
|||
snapcraft upload dist/bitwarden_${{ env.PKG_VERSION }}_amd64.snap --release stable
|
||||
snapcraft logout
|
||||
|
||||
|
||||
choco:
|
||||
name: Deploy Choco
|
||||
runs-on: windows-latest
|
||||
|
@ -126,6 +120,7 @@ jobs:
|
|||
cd dist
|
||||
choco push
|
||||
|
||||
|
||||
macos:
|
||||
name: Deploy MacOS
|
||||
runs-on: macos-latest
|
||||
|
@ -155,6 +150,7 @@ jobs:
|
|||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||
|
||||
|
||||
|
||||
auto-updater-deploy:
|
||||
name: Release auto-updater files
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue