Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
chore(release): bug fix for release
Browse files Browse the repository at this point in the history
  • Loading branch information
nellyk authored Sep 3, 2020
1 parent 761e0a5 commit 8f27bd0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/docker_tag_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
tag_version:
description: 'Tag version'
required: true
push:
tags:
- '*'
repository_dispatch:
types: [one-app-docker-tag-check]
jobs:
Expand All @@ -20,14 +17,10 @@ jobs:
id: set_tag_version
run: |
#Checks for when a valid tag is manually pushed
if [[ $GITHUB_REF != "" && "${{ github.event.client_payload.tagversion }}" == "" ]];
if [[ $GITHUB_REF != "" && "${{ github.event.client_payload.tagversion }}" != "" ]];
then
echo ::set-output name=tagversion::$(egrep -o '(v[0-9]+\.[0-9]+\.[0-9]+)(-\S*)?' <<< $GITHUB_REF)
else
echo ::set-output name=tagversion::${{ github.event.client_payload.tagversion }}
fi
if [[ "${{ github.event.inputs.tag_version }}" != "" ]]
then
else
echo ::set-output name=tagversion::${{ github.event.inputs.tag_version }}
fi
echo $tagversion
Expand Down

0 comments on commit 8f27bd0

Please sign in to comment.