Skip to content

Commit cefeec0

Browse files
authored
Merge pull request #45 from unverz06/develop
2.5.2-rc1
2 parents 74004f6 + a8f593a commit cefeec0

File tree

5 files changed

+201
-182
lines changed

5 files changed

+201
-182
lines changed

.github/workflows/release-master.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release on Merge to Master
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
create_release:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Get version from README
17+
id: get_version
18+
run: |
19+
first_line=$(head -n 1 README.md)
20+
version=$(echo $first_line | grep -oP '(?<=—\s)v[0-9]+\.[0-9]+\.[0-9]+')
21+
if [ -z "$version" ]; then
22+
echo "Version non trouvée dans README.md"
23+
exit 1
24+
fi
25+
clean_version=$(echo $version | sed 's/^v//')
26+
echo "version=${clean_version}" >> $GITHUB_ENV
27+
28+
- name: Create Release
29+
uses: actions/create-release@v1
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
with:
33+
tag_name: ${{ env.version }}
34+
release_name: ${{ env.version }}
35+
draft: false
36+
prerelease: false

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
# files
66
*.code-workspace
7+
*.sh
8+
old-main.lua
79

810
# Compiled Lua sources
911
luac.out

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717

1818
> Released
19+
## 2.5.2
20+
- Code refactor
21+
1922
## 2.5.1
2023
- Add new check if gossip event is flaged quest, conv or bag
2124
- Fix if gossif quest have 2 or more possible select

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AutoQuests — v2.5.1
1+
# AutoQuests — v2.5.2
22
<div align="center">
33
<img src="https://raw.githubusercontent.com/unverz06/AutoQuests/readme/src/AutoQuest_banner.jpg" alt="banner" width="100%">
44
</div>

0 commit comments

Comments
 (0)