Skip to content

Commit b249551

Browse files
Adding version badge and update auto release and codecov yml (#16)
1 parent 8c4a095 commit b249551

File tree

4 files changed

+37
-1
lines changed

4 files changed

+37
-1
lines changed

.codecov.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
coverage:
3+
precision: 2
4+
round: down
5+
range: '70...90'
6+
status:
7+
project:
8+
default:
9+
target: 70%
10+
threshold: 3%

.github/workflows/releases.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release Automation App
2+
3+
on:
4+
push:
5+
6+
permissions:
7+
contents: write
8+
9+
jobs:
10+
release-automation-app:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Get Version
15+
run: echo "app_version=$(jq -r .version package.json)" >> "$GITHUB_ENV"
16+
- name: Create Release
17+
id: create_release
18+
uses: softprops/action-gh-release@v2
19+
with:
20+
tag_name: ${{ env.app_version }}
21+
name: ${{ env.app_version }}
22+
generate_release_notes: true
23+
draft: false
24+
prerelease: false
25+
make_latest: true

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![](https://img.shields.io/codecov/c/gh/opensearch-project/automation-app)](https://app.codecov.io/gh/opensearch-project/automation-app)
2+
![](https://img.shields.io/github/package-json/v/opensearch-project/automation-app?filename=package.json)
23

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

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opensearch-automation-app",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "An Automation App that handles all your GitHub Repository Activities",
55
"author": "Peter Zhu",
66
"homepage": "https://github.com/opensearch-project/automation-app",

0 commit comments

Comments
 (0)