Temporarily disable github release tag/create

This commit is contained in:
David Marby 2022-06-15 18:28:48 +02:00
parent c5f9b77cbd
commit 672599e0f5

View File

@ -45,53 +45,53 @@ jobs:
run:
echo "INSO_VERSION=$(jq .version packages/insomnia-inso/package.json -rj)" >> $GITHUB_ENV
- name: Create Release for Inso CLI
uses: avakar/tag-and-release@v1
id: release_inso_cli
with:
tag_name: lib@${{ env.INSO_VERSION }}
release_name: "Inso CLI ${{ env.INSO_VERSION }} 📦"
body: "Full changelog ⇒ https://insomnia.rest/changelog"
commit: ${{ env.RELEASE_BRANCH }}
prerelease: ${{ env.IS_PRERELEASE }}
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Create Release for Inso CLI
# uses: avakar/tag-and-release@v1
# id: release_inso_cli
# with:
# tag_name: lib@${{ env.INSO_VERSION }}
# release_name: "Inso CLI ${{ env.INSO_VERSION }} 📦"
# body: "Full changelog ⇒ https://insomnia.rest/changelog"
# commit: ${{ env.RELEASE_BRANCH }}
# prerelease: ${{ env.IS_PRERELEASE }}
# draft: false
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Inso CLI artifacts to release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ steps.release_inso_cli.outputs.id }}
tag_name: lib@${{ env.INSO_VERSION }}
file: "./artifacts/*-latest-artifacts/insomnia-inso/artifacts/**"
prerelease: ${{ env.IS_PRERELEASE }}
draft: false
# - name: Upload Inso CLI artifacts to release
# uses: xresloader/upload-to-github-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# release_id: ${{ steps.release_inso_cli.outputs.id }}
# tag_name: lib@${{ env.INSO_VERSION }}
# file: "./artifacts/*-latest-artifacts/insomnia-inso/artifacts/**"
# prerelease: ${{ env.IS_PRERELEASE }}
# draft: false
- name: Create Tag and Release
uses: avakar/tag-and-release@v1
id: core_tag_and_release
with:
tag_name: ${{ env.RELEASE_CORE_TAG }}
release_name: "Insomnia ${{ env.RELEASE_VERSION }} 📦"
body: "Full changelog ⇒ https://insomnia.rest/changelog"
commit: ${{ env.RELEASE_BRANCH }}
prerelease: ${{ env.IS_PRERELEASE }}
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Create Tag and Release
# uses: avakar/tag-and-release@v1
# id: core_tag_and_release
# with:
# tag_name: ${{ env.RELEASE_CORE_TAG }}
# release_name: "Insomnia ${{ env.RELEASE_VERSION }} 📦"
# body: "Full changelog ⇒ https://insomnia.rest/changelog"
# commit: ${{ env.RELEASE_BRANCH }}
# prerelease: ${{ env.IS_PRERELEASE }}
# draft: false
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifacts to release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ steps.core_tag_and_release.outputs.id }}
tag_name: ${{ env.RELEASE_CORE_TAG }}
file: "./artifacts/*-latest-artifacts/insomnia/**"
prerelease: ${{ env.IS_PRERELEASE }}
draft: false
# - name: Upload artifacts to release
# uses: xresloader/upload-to-github-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# release_id: ${{ steps.core_tag_and_release.outputs.id }}
# tag_name: ${{ env.RELEASE_CORE_TAG }}
# file: "./artifacts/*-latest-artifacts/insomnia/**"
# prerelease: ${{ env.IS_PRERELEASE }}
# draft: false
- name: Publish beta/stable of Insomnia to Insomnia API
if: "!contains(github.event.inputs.version, 'alpha')"