Skip to content

Commit d470753

Browse files
v1.3.0
1 parent 7f94aa8 commit d470753

File tree

324 files changed

+36485
-16306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+36485
-16306
lines changed

.github/workflows/release-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release Pipeline
33
# Triggers automatically on push to main when any version file changes
44
on:
55
push:
6-
branches: ["main", "v1.3.0"]
6+
branches: ["main"]
77

88
# Prevent concurrent runs
99
concurrency:

.github/workflows/scripts/detect-all-changes.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ for plugin_dir in plugins/*/; do
140140
if [[ "$current_version" == *"-"* ]]; then
141141
# current_version has prerelease, so include all versions but prefer stable
142142
ALL_TAGS=$(git tag -l "plugins/${plugin_name}/v*" | sort -V)
143-
STABLE_TAGS=$(echo "$ALL_TAGS" | grep -v '\-')
144-
PRERELEASE_TAGS=$(echo "$ALL_TAGS" | grep '\-')
143+
STABLE_TAGS=$(echo "$ALL_TAGS" | grep -v '\-' || true)
144+
PRERELEASE_TAGS=$(echo "$ALL_TAGS" | grep '\-' || true)
145145

146146
if [ -n "$STABLE_TAGS" ]; then
147147
# Get the highest stable version
@@ -154,7 +154,7 @@ for plugin_dir in plugins/*/; do
154154
fi
155155
else
156156
# VERSION has no prerelease, so only consider stable releases
157-
LATEST_PLUGIN_TAG=$(git tag -l "plugins/${plugin_name}/v*" | grep -v '\-' | sort -V | tail -1)
157+
LATEST_PLUGIN_TAG=$(git tag -l "plugins/${plugin_name}/v*" | grep -v '\-' | sort -V | tail -1 || true)
158158
echo "latest plugin tag (stable only): $LATEST_PLUGIN_TAG"
159159
fi
160160

.github/workflows/scripts/release-single-plugin.sh

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ fi
105105
# Capturing changelog
106106
CHANGELOG_BODY=$(cat $PLUGIN_DIR/changelog.md)
107107
# Skip comments from changelog
108-
CHANGELOG_BODY=$(echo "$CHANGELOG_BODY" | grep -v '^<!--' | grep -v '^-->')
108+
CHANGELOG_BODY=$(echo "$CHANGELOG_BODY" | grep -v '^<!--' | grep -v '^-->' || true)
109109
# If changelog is empty, return error
110110
if [ -z "$CHANGELOG_BODY" ]; then
111111
echo "❌ Changelog is empty"
@@ -119,17 +119,23 @@ PREV_TAG=$(git tag -l "plugins/${PLUGIN_NAME}/v*" | sort -V | tail -1)
119119
if [[ "$PREV_TAG" == "$TAG_NAME" ]]; then
120120
PREV_TAG=$(git tag -l "plugins/${PLUGIN_NAME}/v*" | sort -V | tail -2 | head -1)
121121
fi
122-
echo "🔍 Previous tag: $PREV_TAG"
123122

124-
# Get message of the tag
125-
echo "🔍 Getting previous tag message..."
126-
PREV_CHANGELOG=$(git tag -l --format='%(contents)' "$PREV_TAG")
127-
echo "📝 Previous changelog body: $PREV_CHANGELOG"
128-
129-
# Checking if tag message is the same as the changelog
130-
if [[ "$PREV_CHANGELOG" == "$CHANGELOG_BODY" ]]; then
131-
echo "❌ Changelog is the same as the previous changelog"
132-
exit 1
123+
# Only validate changelog changes if there's a previous tag
124+
if [ -n "$PREV_TAG" ]; then
125+
echo "🔍 Previous tag: $PREV_TAG"
126+
127+
# Get message of the tag
128+
echo "🔍 Getting previous tag message..."
129+
PREV_CHANGELOG=$(git tag -l --format='%(contents)' "$PREV_TAG")
130+
echo "📝 Previous changelog body: $PREV_CHANGELOG"
131+
132+
# Checking if tag message is the same as the changelog
133+
if [[ "$PREV_CHANGELOG" == "$CHANGELOG_BODY" ]]; then
134+
echo "❌ Changelog is the same as the previous changelog"
135+
exit 1
136+
fi
137+
else
138+
echo "ℹ️ No previous tag found - this is the first release"
133139
fi
134140

135141

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ private.*
88
.venv
99
bifrost-data
1010

11+
# Enterprise
12+
ui/app/enterprise
13+
ui/components/enterprise
14+
1115
# Temporary directories
1216
**/temp/
1317
/transports/ui

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Variables
44
HOST ?= localhost
55
PORT ?= 8080
6-
APP_DIR ?=
6+
APP_DIR ?=
77
PROMETHEUS_LABELS ?=
88
LOG_STYLE ?= json
99
LOG_LEVEL ?= info
@@ -16,7 +16,7 @@ BLUE=\033[0;34m
1616
CYAN=\033[0;36m
1717
NC=\033[0m # No Color
1818

19-
.PHONY: all help dev build-ui build run install-air clean test install-ui setup-workspace work-init work-clean docs docker-build
19+
.PHONY: all help dev build-ui build run install-air clean test install-ui setup-workspace work-init work-clean docs docker-build cleanup-enterprise
2020

2121
all: help
2222

@@ -34,7 +34,12 @@ help: ## Show this help message
3434
@echo " LOG_LEVEL Logger level: debug|info|warn|error (default: info)"
3535
@echo " APP_DIR App data directory inside container (default: /app/data)"
3636

37-
install-ui:
37+
cleanup-enterprise: ## Clean up enterprise directories if present
38+
@echo "$(GREEN)Cleaning up enterprise...$(NC)"
39+
@if [ -d "ui/app/enterprise" ]; then rm -rf ui/app/enterprise; fi
40+
@echo "$(GREEN)Enterprise cleaned up$(NC)"
41+
42+
install-ui: cleanup-enterprise
3843
@which node > /dev/null || (echo "$(RED)Error: Node.js is not installed. Please install Node.js first.$(NC)" && exit 1)
3944
@which npm > /dev/null || (echo "$(RED)Error: npm is not installed. Please install npm first.$(NC)" && exit 1)
4045
@echo "$(GREEN)Node.js and npm are installed$(NC)"

0 commit comments

Comments
 (0)