Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
push:
branches:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -64,6 +65,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}
- run: ./scripts/run_test_wrapper.sh
- run: ./scripts/sonar_test_results_merge.sh
- name: SonarQube Scan
Expand All @@ -84,9 +86,12 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}
- uses: actions/download-artifact@v5
with:
name: package-artifact
- name: create release
run: ./scripts/create_release.sh
env:
GH_TOKEN: ${{ github.token }}
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# [1.3.73](https://github.com/kenherring/ablunit-test-runner/releases/tag/1.3.73) - 2025-10-19 (pre-release)
# [1.3.75](https://github.com/kenherring/ablunit-test-runner/releases/tag/1.3.75) - 2025-10-19 (pre-release)

* Update automatic prereleases in github actions (#415)
* Update automatic prereleases in github actions (#414)
* Add configuration options for disabling competion items (#413)
* Set branch name in CI run for main branch (#412)
Expand Down Expand Up @@ -90,7 +91,7 @@
* Bump mocha from 11.4.0 to 11.5.0 (#301)
* Bump @types/node from 22.15.17 to 22.15.21 (#304)

**Full Changelog**: [1.3.0...1.3.73](https://github.com/kenherring/ablunit-test-runner/compare/1.3.71...1.3.73)
**Full Changelog**: [1.3.0...1.3.75](https://github.com/kenherring/ablunit-test-runner/compare/1.3.73...1.3.75)

# [1.3.0](https://github.com/kenherring/ablunit-test-runner/releases/tag/1.3.0) - 2025-05-21

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ablunit-test-runner",
"displayName": "ABLUnit Test Runner",
"description": "OpenEdge ABLUnit test runner for VSCode",
"version": "1.3.73",
"version": "1.3.75",
"engineStrict": true,
"galleryBanner": {
"color": "#007ACC",
Expand Down
13 changes: 8 additions & 5 deletions scripts/create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,27 @@
main () {
log_it

if [ ! -f package.json ]; then
log_error "package.json not found - is the repo checked out?"
exit 1
fi

PACKAGE_VERSION=$(jq -r '.version' package.json)
log_it "PACKAGE_VERSION=$PACKAGE_VERSION"
if git tag -l --sort=version:refname | grep -q "^$PACKAGE_VERSION$"; then
log_error "tag exists for PACKAGE_VERSION=$PACKAGE_VERSION"
exit 1
fi

PRERELEASE=false
PATCH_VERSION=${PACKAGE_VERSION##*.}
log_it "PATCH_VERSION=$PATCH_VERSION"
if [ "$((PATCH_VERSION % 2))" = "1" ]; then
PRERELEASE=true
fi
log_it "PRERELEASE=$PRERELEASE"

if [ -z "$(git tag)" ]; then
git fetch --tags
fi
LATEST_RELEASE_TAG=$(git tag -l '[0-9].*' --sort=version:refname | grep -E "^[0-9]+\.[0-9]+\.[0-9]*[0,2,4,6,8]$" | tail -1)
log_it "LATEST_RELEASE_TAG=$LATEST_RELEASE_TAG"

ARGS=()
if $PRERELEASE; then
Expand All @@ -41,7 +45,6 @@ main () {
ARGS+=(--generate-notes)
ARGS+=(--notes-start-tag "$LATEST_RELEASE_TAG")
ARGS+=(--target $(git rev-parse HEAD))
log_it "ARGS=${ARGS[*]}"

gh release create "$PACKAGE_VERSION" "${ARGS[@]}"
log_it "release created for PACKAGE_VERSION=$PACKAGE_VERSION"
Expand Down