Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a7cdcc4
fix: use typology cfg and add completion log
Lenbkr Jul 31, 2024
4dc944a
build: update log level for docker
Lenbkr Jul 31, 2024
a3263b8
Merge pull request #202 from frmscoe/endlog
Lenbkr Aug 2, 2024
fbacf99
feat(imports): add efrup features from new library
Lenbkr Sep 2, 2024
ffba348
ci(workflow): use new scope
Lenbkr Sep 2, 2024
a84790d
ci(workflow): use new token
Lenbkr Sep 3, 2024
8b0b954
Merge pull request #216 from tazama-lf/feat/efrup
Justus-at-Tazama Sep 4, 2024
61e37a2
chore(deps-dev): bump typescript from 5.5.3 to 5.6.2
dependabot[bot] Sep 25, 2024
7945051
chore(deps-dev): bump micromatch from 4.0.7 to 4.0.8
dependabot[bot] Sep 25, 2024
43e1a3c
feat: Env/validation (#226)
cshezi Oct 4, 2024
c669b74
Merge pull request #215 from tazama-lf/dependabot/npm_and_yarn/microm…
Justus-at-Tazama Oct 9, 2024
6e329ab
Merge pull request #221 from tazama-lf/dependabot/npm_and_yarn/typesc…
Justus-at-Tazama Oct 9, 2024
ff67cdb
refactor: apply cache option environment variable split
cshezi Oct 10, 2024
da3da8a
test: add mock of the local cache vars
cshezi Oct 10, 2024
28b2d51
Merge pull request #231 from tazama-lf/split-cache-options
cshezi Oct 11, 2024
3ffb7e8
build: remove unused deps
Oct 11, 2024
2ce4444
Merge pull request #233 from tazama-lf/deps
rtkay123 Oct 11, 2024
89b3939
refactor: abstract service configs
Oct 15, 2024
651d847
test: mock env
Oct 15, 2024
d976f49
test: remove unused modules
Oct 15, 2024
faf38ba
build: update env
Oct 17, 2024
4ce6dae
build: bump lib ver
Oct 17, 2024
989a49a
Merge pull request #237 from tazama-lf/encapsulation
rtkay123 Oct 17, 2024
fa2d564
feat: updated networkcache
JeanPierreNell Oct 30, 2024
c3798e3
feat: updated tests
JeanPierreNell Oct 30, 2024
d191ad2
Merge pull request #246 from tazama-lf/multi-currency
JeanPierreNell Nov 1, 2024
e70193e
build: update libs (#255)
rtkay123 Dec 2, 2024
305a4ab
ci: sync workflows from central-workflows Signed-off-by: Scott <busin…
scott45 Dec 2, 2024
c803f69
fix: fix v2 deprecated error
scott45 Dec 2, 2024
a24379b
ci: sync workflows from central-workflows (#257)
scott45 Dec 2, 2024
b6caa9f
ci: sync workflows from central-workflows Signed-off-by: Scott <busin…
scott45 Dec 2, 2024
f53fbd8
Merge branch 'main' into dev
scott45 Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/dockerhub-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ name: Publish Docker image
on:
push:
branches: [ "main" ]
release:
types: [published]

jobs:
push_to_registry:
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
properties:
milestone_number:
type: string
workflow_dispatch:

jobs:
release:
Expand Down Expand Up @@ -41,33 +42,32 @@ jobs:
if: ${{ steps.release-label.outputs.level != null }}
with:
semver_only: true

- name: Get Last Merged PR
id: get_merged_pr
uses: actions-ecosystem/action-get-merged-pull-request@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

# Determine the release type (major, minor, patch) based on commit messages
- name: Determine Release Type
# Determine the release type (major, minor, patch) based on Last Merged PR Title
- name: Determine Release Type from PR Title
id: determine_release
run: |
PREV_VERSION=$(git describe --abbrev=0 --tags)
echo "Previous Version: $PREV_VERSION"

COMMIT_MESSAGES=$(git log $PREV_VERSION^..HEAD --format=%B)
echo "Commit Messages: $COMMIT_MESSAGES"

# Determine release type based on commit messages and labels
RELEASE_TYPE="patch" # Default to patch

if echo "$COMMIT_MESSAGES" | grep -q -e "BREAKING CHANGE:"; then
PR_TITLE="${{ steps.get_merged_pr.outputs.title }}"
echo "PR Title: $PR_TITLE"

RELEASE_TYPE="patch" # Default release type
if echo "$PR_TITLE" | grep -q "^BREAKING CHANGE:"; then
RELEASE_TYPE="major"
elif echo "$COMMIT_MESSAGES" | grep -q -e "feat!:"; then
elif echo "$PR_TITLE" | grep -q "^feat!:"; then
RELEASE_TYPE="major"
elif echo "$COMMIT_MESSAGES" | grep -q -e "feat:"; then
elif echo "$PR_TITLE" | grep -q "^feat:"; then
RELEASE_TYPE="minor"
elif echo "$COMMIT_MESSAGES" | grep -q -e "feat:" && (echo "$COMMIT_MESSAGES" | grep -q -e "fix:" || echo "$COMMIT_MESSAGES" | grep -q -e "enhancement:" || echo "$COMMIT_MESSAGES" | grep -q -e "docs:" || echo "$COMMIT_MESSAGES" | grep -q -e "refactor:" || echo "$COMMIT_MESSAGES" | grep -q -e "chore:"); then
RELEASE_TYPE="minor"
elif echo "$COMMIT_MESSAGES" | grep -q -e "fix:" -e "enhancement:" -e "docs:" -e "refactor:" -e "chore:" -e "build:" -e "ci:" -e "perf:" -e "style:" -e "test:" -e "chore(deps):" -e "chore(deps-dev):"; then
else
RELEASE_TYPE="patch"
fi
echo "Release Type: $RELEASE_TYPE"

echo "Determined Release Type: $RELEASE_TYPE"
echo "::set-output name=release_type::$RELEASE_TYPE"

# Bump the version based on the determined release type
Expand Down
Loading