Skip to content

Commit

Permalink
up ci
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
  • Loading branch information
kislerdm committed Jan 23, 2023
1 parent b800b01 commit 85dcf89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/release-test.yaml

This file was deleted.

10 changes: 6 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: "Release:Plugin"
on:
push:
tags:
Expand All @@ -7,7 +7,7 @@ permissions:
contents: write

jobs:
goreleaser:
release-plugin:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -22,8 +22,10 @@ jobs:
- name: Define the plugin
id: pluginID
run: |
echo "plugin=neon" >> $GITHUB_OUTPUT
echo "tag=v0.1.0" >> $GITHUB_OUTPUT
TAG=$(echo '${{ github.event.ref }}' | awk -F "/" '{print $NF}')
echo "tag=${TAG}" >> $GITHUB_OUTPUT
PLUGIN=$(echo '${{ github.event.ref }}' | awk -F "/" '{print $(NF-1)}')
echo "plugin=${PLUGIN}" >> $GITHUB_OUTPUT
- name: Tests release notes
run: |
if [ ! -f plugin/${{ steps.pluginID.outputs.plugin }}/.release_notes/${{ steps.pluginID.outputs.tag }}.md ]; then exit 1; fi
Expand Down

0 comments on commit 85dcf89

Please sign in to comment.