mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
Revert "Temporarily disable github release tag/create"
This reverts commit 672599e0f5
.
This commit is contained in:
parent
4a707c3b3d
commit
040113891c
88
.github/workflows/release-publish.yml
vendored
88
.github/workflows/release-publish.yml
vendored
@ -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')"
|
||||
|
Loading…
Reference in New Issue
Block a user