Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e15190ecd6 | ||
|
|
0dc5fb14c5 | ||
|
|
308489fd01 | ||
|
|
6a0addf7a3 | ||
|
|
8b62259785 | ||
|
|
1c03622fd1 |
@@ -66,17 +66,14 @@ start() {
|
||||
echo $message
|
||||
if echo $message | grep -Pq '(feat|style)(\([\w]+\))?!:([a-zA-Z0-9-_!\&\.\%\(\)\=\w\s]+)\s?(,?\s?)((ref(s?):?\s?)(([A-Z0-9]+\-[0-9]+)|(NOISSUE)))'; then
|
||||
increment_type="major"
|
||||
echo "a"
|
||||
break
|
||||
elif echo $message | grep -Pq '(feat|style)(\([\w]+\))?:([a-zA-Z0-9-_!\&\.\%\(\)\=\w\s]+)\s?(,?\s?)((ref(s?):?\s?)(([A-Z0-9]+\-[0-9]+)|(NOISSUE)))'; then
|
||||
if [ -z "$increment_type" ] || [ "$increment_type" == "patch" ]; then
|
||||
increment_type="minor"
|
||||
echo "b"
|
||||
fi
|
||||
elif echo $message | grep -Pq '(build|fix|perf|refactor|revert)(\(.+\))?:\s([a-zA-Z0-9-_!\&\.\%\(\)\=\w\s]+)\s?(,?\s?)((ref(s?):?\s?)(([A-Z0-9]+\-[0-9]+)|(NOISSUE)))'; then
|
||||
if [ -z "$increment_type" ]; then
|
||||
increment_type="patch"
|
||||
echo "c"
|
||||
fi
|
||||
fi
|
||||
done < $TEMP_FILE_PATH/messages.txt
|
||||
@@ -86,8 +83,9 @@ start() {
|
||||
echo "New version: $new_version"
|
||||
|
||||
gitchangelog | grep -v "[rR]elease:" > HISTORY.md
|
||||
git add TextParser/VERSION HISTORY.md
|
||||
echo $new_version > TextParser/VERSION
|
||||
git add TextParser/VERSION
|
||||
git add HISTORY.md
|
||||
git commit -m "release: version $new_version 🚀"
|
||||
echo "creating git tag : $new_version"
|
||||
git tag $new_version
|
||||
|
||||
@@ -64,5 +64,5 @@ jobs:
|
||||
QUOTED_REPOSITORY_SOURCE_NAME=$(dotnet nuget config get all | grep "/packages/${REPOSITORY_OWNER}/nuget/index.json" | awk '{print $2}' | awk -F= '{print $2}')
|
||||
REPOSITORY_SOURCE_NAME=${QUOTED_REPOSITORY_SOURCE_NAME:1:-1}
|
||||
fi
|
||||
dotnet pack --include-symbols --include-source -p:PackageVersion=$(cat $REPOSITORY_NAME/VERSION) DotnetTestLib.sln
|
||||
dotnet pack --include-symbols --include-source -p:PackageVersion=$(cat $REPOSITORY_NAME/VERSION) TextParser.sln
|
||||
dotnet nuget push -k $GITEA_PAT --source $REPOSITORY_SOURCE_NAME $REPOSITORY_NAME/bin/Release/$REPOSITORY_NAME.$(cat $REPOSITORY_NAME/VERSION).symbols.nupkg
|
||||
|
||||
63
HISTORY.md
63
HISTORY.md
@@ -0,0 +1,63 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
|
||||
(unreleased)
|
||||
------------
|
||||
- Feat: ci pipeline fix for releases, ref NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
|
||||
0.2.3 (2024-12-02)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- More release script fixes,ref: NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.2.2 (2024-12-02)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Increment version,refs:NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.2.1 (2024-12-02)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Fix file inclusion in tag commits, ref: NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
|
||||
0.2.0 (2024-12-02)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Fix some bugs and tests, ref: A24-3. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
- Ci: fix release shortcut, ref: NOISSUE. [Simon Diesenreiter]
|
||||
- Feat: add text parser and output format options, ref: A24-3. [Simon
|
||||
Diesenreiter]
|
||||
|
||||
|
||||
0.1.0 (2024-12-01)
|
||||
------------------
|
||||
- Feat: added initial implementation of TextParser, ref: A24-3. [Simon
|
||||
Diesenreiter]
|
||||
- ✅ Ready to clone and code. [simon]
|
||||
- Ci: initial commit for triggering migration, ref: NOISSUE. [Simon
|
||||
Diesenreiter]
|
||||
- Initial commit. [Projects <>]
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
0.2.0
|
||||
0.3.0
|
||||
|
||||
Reference in New Issue
Block a user