Skip to content

Commit

Permalink
Fix release (#1677)
Browse files Browse the repository at this point in the history
* define higher timeout

* fix commit messages and reduce CI time

* make builds explicit where necessary
  • Loading branch information
foxriver76 authored Aug 7, 2024
1 parent 44307a9 commit c29762c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
- name: Test
run: npm test

- name: Build
run: npm run build

- name: Prepare release
env:
VERSION_BUMP: ${{ inputs.versionBump }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
UPDATE_LABELS: "automated pr 🔧"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "pull-request-title-and-description"
MERGE_RETRY_SLEEP: 10000

- name: Checkout code
if: steps.automerge.outputs.mergeResult == 'merged'
Expand Down Expand Up @@ -143,10 +144,11 @@ jobs:
if: steps.automerge.outputs.mergeResult == 'merged'
run: npm install

- name: Create a clean build
- name: Build
if: steps.automerge.outputs.mergeResult == 'merged'
run: npm run build

# The prepublish script also creates a build
- name: Publish package to npm
if: steps.automerge.outputs.mergeResult == 'merged'
run: |
Expand Down
6 changes: 1 addition & 5 deletions .releaseconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"all": true,
"plugins": ["iobroker", "license", "manual-review"],
"exec": {
"before_commit": "npm run build"
}
"plugins": ["iobroker", "license"]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Executes Javascript, Typescript Scripts.
<!--
### **WORK IN PROGRESS**
-->
### 8.8.1 (2024-08-07)
### **WORK IN PROGRESS**
* (@GermanBluefox) updated dependencies

### 8.8.0 (2024-08-05)
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"@alcalzone/release-script": "^3.8.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
"@iobroker/adapter-dev": "^1.3.0",
"@iobroker/types": "^6.0.10",
"@iobroker/vis-2-widgets-react-dev": "^3.0.7",
Expand Down Expand Up @@ -95,7 +94,6 @@
"test": "npm run test:declarations && npm run test:javascript",
"translate": "translate-adapter",
"//postinstall": "node ./install/installTypings.js",
"prepublishOnly": "node node_modules/gulp/bin/gulp.js",
"build": "node node_modules/gulp/bin/gulp.js",
"release": "release-script --noPush -y",
"update-packages": "ncu --upgrade && cd src && ncu --upgrade && cd ../src-admin && ncu --upgrade",
Expand Down

0 comments on commit c29762c

Please sign in to comment.