You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "No existing tags found. Skipping version-bump check (first release)."
58
+
exit 0
59
+
fi
60
+
LATEST_VERSION="${LATEST_TAG#v}"
61
+
LATEST_VERSION="${LATEST_VERSION%%-*}"
62
+
if [ "$(printf '%s\n' "$LATEST_VERSION" "$GEM_VERSION" | sort -V | tail -1)" != "$GEM_VERSION" ]; then
63
+
echo "::error::Version bump required: lib/contentstack/version.rb ($GEM_VERSION) is not greater than latest tag ($LATEST_TAG). Please bump Contentstack::VERSION."
CHANGELOG_VERSION=$(sed -nE 's/^## Version ([0-9]+\.[0-9]+\.[0-9]+).*/\1/p' CHANGELOG.md | head -1)
71
+
if [ -z "$CHANGELOG_VERSION" ]; then
72
+
echo "::error::Could not find a version entry in CHANGELOG.md (expected line like '## Version 1.0.0')."
73
+
exit 1
74
+
fi
75
+
if [ "$CHANGELOG_VERSION" != "$GEM_VERSION" ]; then
76
+
echo "::error::CHANGELOG version mismatch: CHANGELOG.md top version ($CHANGELOG_VERSION) does not match lib/contentstack/version.rb ($GEM_VERSION). Please add or update the CHANGELOG entry for $GEM_VERSION."
77
+
exit 1
78
+
fi
79
+
echo "Version bump check passed: lib/contentstack/version.rb and CHANGELOG.md are at $GEM_VERSION (latest tag: $LATEST_TAG)."
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
## CHANGELOG
2
2
3
+
## Version 0.8.5
4
+
### Date: 5th-June-2026
5
+
### Deprecated
6
+
-`Query#include_draft` is deprecated. The Content Delivery API returns published content only; the `include_draft` query parameter has no effect. Use Live Preview with the Preview Service to preview unpublished entries, or the Content Management API to work with draft content.
Copy file name to clipboardExpand all lines: skills/dev-workflow/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ description: Use when setting up the repo, running tests or docs, choosing branc
28
28
29
29
### Branches and PRs
30
30
31
-
- Default integration branch is typically **`development`** (confirm on GitHub). **`master`** merges are restricted: `.github/workflows/check-branch.yml` blocks PRs into `master` unless the head branch is **`staging`**—follow org process for promotion.
31
+
- Default integration branch is typically **`development`** (confirm on GitHub). Release PRs go directly **`development` -> `master`**; `staging` is not part of the release promotion flow.
32
32
- Keep PRs focused; mention breaking API or Ruby version requirement changes in the description.
0 commit comments