Skip to content

Commit

Permalink
Adding version badge and update auto release
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Oct 2, 2024
1 parent 8c4a095 commit 328104e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release Automation App

on:
push:

permissions:
contents: write

jobs:
release-automation-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Version
run: echo "app_version=$(jq -r .version package.json)" >> "$GITHUB_ENV"
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.app_version }}
name: ${{ env.app_version }}
generate_release_notes: true
draft: false
prerelease: false
make_latest: true
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![](https://img.shields.io/codecov/c/gh/opensearch-project/automation-app)](https://app.codecov.io/gh/opensearch-project/automation-app)
![](https://img.shields.io/github/package-json/v/opensearch-project/automation-app?filename=package.json)

<img src="https://opensearch.org/assets/img/opensearch-logo-themed.svg" height="64px">

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opensearch-automation-app",
"version": "0.1.2",
"version": "0.1.3",
"description": "An Automation App that handles all your GitHub Repository Activities",
"author": "Peter Zhu",
"homepage": "https://github.com/opensearch-project/automation-app",
Expand Down

0 comments on commit 328104e

Please sign in to comment.