Skip to content

Commit 9aa9aea

Browse files
committed
update version
1 parent 2ab82d4 commit 9aa9aea

File tree

6 files changed

+62
-6
lines changed

6 files changed

+62
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Deploy
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+*'
67

78
jobs:
89
dependencies:

.github/workflows/publish.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Publish to pub.dev
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Release"]
6+
types:
7+
- completed
8+
9+
jobs:
10+
publish:
11+
permissions:
12+
id-token: write
13+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish GitHub Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
name: Create GitHub Release
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Extract tag name
21+
id: tag
22+
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
23+
24+
- name: Generate release notes
25+
id: release_notes
26+
run: |
27+
echo "## Changes in $TAG_NAME" > RELEASE_NOTES.md
28+
echo "" >> RELEASE_NOTES.md
29+
git log --pretty=format:"- %s" $(git describe --tags --abbrev=0 @^)..@ >> RELEASE_NOTES.md
30+
31+
- name: Create GitHub Release
32+
uses: softprops/action-gh-release@v2
33+
with:
34+
tag_name: ${{ env.TAG_NAME }}
35+
name: Release ${{ env.TAG_NAME }}
36+
body_path: RELEASE_NOTES.md
37+
draft: false
38+
prerelease: false

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
## 0.0.2
22

33
* Add support update chart
4-
* Adding example of how to use graphify
4+
* Adding example of how to use graphify
5+
6+
## 1.0.8
7+
8+
* Optimize and refactor the code

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Bekeev Imankadyr
3+
Copyright (c) 2024 Warioddly
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: graphify
22
description: "A data visualization charts library, based on Apache Echarts, able to build advanced charts like WebGL 3D, Bar, Line, Candlestick, Radar, Graph, Tree etc."
3-
homepage: "https://github.com/warioddly/graphify"
3+
repository: "https://github.com/warioddly/graphify"
44
documentation: "https://echarts.apache.org/en/option.html#title"
55

6-
version: 1.0.7
6+
version: 1.0.8
77

88
environment:
99
sdk: '>=3.2.3 <4.0.0'
@@ -47,4 +47,4 @@ topics:
4747
- charts
4848
- echarts
4949
- webgl
50-
- diagram
50+
- diagram

0 commit comments

Comments
 (0)