Skip to content

Commit

Permalink
chore(ci): make yaml linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Jan 31, 2022
1 parent 134918f commit fb37d62
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# This workflow is useful if you want to automate the process of:
#
# a) Creating a new prelease when you push a new tag with a "v" prefix (version).
#
# This type of prerelease is meant to be used for production: alpha, beta, rc, etc. types of releases.
# After the prerelease is created, you need to make your changes on the release page at the relevant
# Github page and publish your release.
#
# b) Creating/updating the "latest" prerelease when you push to your default branch.
#
# This type of prelease is useful to make your bleeding-edge binaries available to advanced users.
#
# The workflow will not run if there is no tag pushed with a "v" prefix and no change pushed to your
# default branch.
name: Release

on: push

jobs:
Expand All @@ -22,12 +10,12 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Prepare Release Variables

- name: Prepare Release Variables
id: vars
uses: tendermint/starport/actions/release/vars@develop

- name: Issue Release Assets
- name: Issue Release Assets
uses: tendermint/starport/actions/cli@develop
if: ${{ steps.vars.outputs.should_release == 'true' }}
with:
Expand All @@ -48,6 +36,6 @@ jobs:
with:
tag_name: ${{ steps.vars.outputs.tag_name }}
files: release/*
prerelease: true
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fb37d62

Please sign in to comment.