Skip to content

Commit 3d4f309

Browse files
authored
Update automatic prereleases in github actions (#414)
1 parent 910d6bc commit 3d4f309

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,13 @@ jobs:
5151
credentials:
5252
username: ${{ secrets.DOCKER_USER }}
5353
password: ${{ secrets.DOCKER_PAT }}
54+
permissions:
55+
contents: write
5456
env:
5557
ABLUNIT_TEST_RUNNER_OE_VERSION: ${{ matrix.oe-version }}
5658
ABLUNIT_TEST_RUNNER_VSCODE_VERSION: 'stable'
5759
EXPECTED_VSIX_COUNT: 1
60+
GH_TOKEN: ${{ github.token }}
5861
PRIMARY_OE_VERSION: 12.8.1
5962
PROGRESS_CFG_BASE64: ${{ secrets.PROGRESS_CFG_BASE64 }}
6063
steps:

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# [1.3.71](https://github.com/kenherring/ablunit-test-runner/releases/tag/1.3.71) - 2025-10-19 (pre-release)
1+
# [1.3.73](https://github.com/kenherring/ablunit-test-runner/releases/tag/1.3.73) - 2025-10-19 (pre-release)
22

3+
* Update automatic prereleases in github actions (#414)
4+
* Add configuration options for disabling competion items (#413)
5+
* Set branch name in CI run for main branch (#412)
36
* Unit test configuration update (#403)
47
* Bump typescript from 5.9.2 to 5.9.3 (#410)
58
* Bump @types/node from 24.7.0 to 24.7.2 (#409)
@@ -87,7 +90,7 @@
8790
* Bump mocha from 11.4.0 to 11.5.0 (#301)
8891
* Bump @types/node from 22.15.17 to 22.15.21 (#304)
8992

90-
**Full Changelog**: [1.3.0...1.3.71](https://github.com/kenherring/ablunit-test-runner/compare/1.3.69...1.3.71)
93+
**Full Changelog**: [1.3.0...1.3.73](https://github.com/kenherring/ablunit-test-runner/compare/1.3.71...1.3.73)
9194

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

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ablunit-test-runner",
33
"displayName": "ABLUnit Test Runner",
44
"description": "OpenEdge ABLUnit test runner for VSCode",
5-
"version": "1.3.71",
5+
"version": "1.3.73",
66
"engineStrict": true,
77
"galleryBanner": {
88
"color": "#007ACC",

scripts/create_release.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,22 @@ main () {
1010
log_it
1111

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

1819
PRERELEASE=false
1920
PATCH_VERSION=${PACKAGE_VERSION##*.}
21+
log_it "PATCH_VERSION=$PATCH_VERSION"
2022
if [ "$((PATCH_VERSION % 2))" = "1" ]; then
2123
PRERELEASE=true
2224
fi
25+
log_it "PRERELEASE=$PRERELEASE"
2326

2427
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)
28+
log_it "LATEST_RELEASE_TAG=$LATEST_RELEASE_TAG"
2529

2630
ARGS=()
2731
if $PRERELEASE; then
@@ -37,9 +41,7 @@ main () {
3741
ARGS+=(--generate-notes)
3842
ARGS+=(--notes-start-tag "$LATEST_RELEASE_TAG")
3943
ARGS+=(--target $(git rev-parse HEAD))
40-
41-
curl -L https://github.com/cli/cli/releases/download/v2.65.0/gh_2.65.0_linux_amd64.deb -o /tmp/gh_2.65.0_linux_amd64.deb
42-
sudo dpkg -i /tmp/gh_2.65.0_linux_amd64.deb
44+
log_it "ARGS=${ARGS[*]}"
4345

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

scripts/publish.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ publish_release () {
5858
upload_to_github_release () {
5959
log_it
6060

61-
curl -L https://github.com/cli/cli/releases/download/v2.65.0/gh_2.65.0_linux_amd64.deb -o /tmp/gh_2.65.0_linux_amd64.deb
62-
sudo dpkg -i /tmp/gh_2.65.0_linux_amd64.deb
63-
6461
if [ -z "${VSCE_PAT:-}" ]; then
6562
log_error "VSCE_PAT is not set. Cannot upload to GitHub release"
6663
return 1

0 commit comments

Comments
 (0)