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
|
- name: Create Deploy version vars
|
||||||
id: create_tags
|
id: create_tags
|
||||||
run: |
|
run: |
|
||||||
if ! [[ "${{ github.event_name }}" -eq "release" ]]; then
|
|
||||||
case "${RELEASE_TAG_NAME_INPUT:0:1}" in
|
case "${RELEASE_TAG_NAME_INPUT:0:1}" in
|
||||||
v)
|
v)
|
||||||
echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV
|
echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV
|
||||||
|
@ -39,16 +38,10 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
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:
|
env:
|
||||||
RELEASE_TAG_NAME_INPUT: ${{ github.event.inputs.release_tag_name_input }}
|
RELEASE_TAG_NAME_INPUT: ${{ github.event.inputs.release_tag_name_input }}
|
||||||
|
|
||||||
|
|
||||||
snap:
|
snap:
|
||||||
name: Deploy Snap
|
name: Deploy Snap
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -84,6 +77,7 @@ jobs:
|
||||||
snapcraft upload dist/bitwarden_${{ env.PKG_VERSION }}_amd64.snap --release stable
|
snapcraft upload dist/bitwarden_${{ env.PKG_VERSION }}_amd64.snap --release stable
|
||||||
snapcraft logout
|
snapcraft logout
|
||||||
|
|
||||||
|
|
||||||
choco:
|
choco:
|
||||||
name: Deploy Choco
|
name: Deploy Choco
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
@ -126,6 +120,7 @@ jobs:
|
||||||
cd dist
|
cd dist
|
||||||
choco push
|
choco push
|
||||||
|
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
name: Deploy MacOS
|
name: Deploy MacOS
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
@ -155,6 +150,7 @@ jobs:
|
||||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
auto-updater-deploy:
|
auto-updater-deploy:
|
||||||
name: Release auto-updater files
|
name: Release auto-updater files
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue