Skip to content

Commit

Permalink
pre first release changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daolis committed Nov 26, 2023
1 parent 34d4ad2 commit d253383
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 40 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,44 +53,44 @@ jobs:
# install-command: 'npm install'
build: true

# TODO: To enable automatic npm releases, create a token on npmjs.org
# TODO: To enable automatic npm releases, create a token on npmjs.org
# Enter this token as a GitHub secret (with name NPM_TOKEN) in the repository options
# Then uncomment the following block:

# # Deploys the final package to NPM
# deploy:
# needs: [check-and-lint, adapter-tests]
#
# # Trigger this step only when a commit on any branch is tagged with a version number
# if: |
# contains(github.event.head_commit.message, '[skip ci]') == false &&
# github.event_name == 'push' &&
# startsWith(github.ref, 'refs/tags/v')
#
# runs-on: ubuntu-latest
#
# # Write permissions are required to create Github releases
# permissions:
# contents: write
#
# steps:
# - uses: ioBroker/testing-action-deploy@v1
# with:
# node-version: '18.x'
# # Uncomment the following line if your adapter cannot be installed using 'npm ci'
# # install-command: 'npm install'
# build: true
# npm-token: ${{ secrets.NPM_TOKEN }}
# github-token: ${{ secrets.GITHUB_TOKEN }}
#
# # When using Sentry for error reporting, Sentry can be informed about new releases
# # To enable create a API-Token in Sentry (User settings, API keys)
# # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options
# # Then uncomment and customize the following block:
# sentry: true
# sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
# sentry-project: "iobroker-sun2000-modbus"
# sentry-version-prefix: "iobroker.sun2000-modbus"
# sentry-sourcemap-paths: "build/"
# # If your sentry project is linked to a GitHub repository, you can enable the following option
# # sentry-github-integration: true
deploy:
needs: [check-and-lint, adapter-tests]

# Trigger this step only when a commit on any branch is tagged with a version number
if: |
contains(github.event.head_commit.message, '[skip ci]') == false &&
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest

# Write permissions are required to create Github releases
permissions:
contents: write

steps:
- uses: ioBroker/testing-action-deploy@v1
with:
node-version: '18.x'
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
build: true
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

# When using Sentry for error reporting, Sentry can be informed about new releases
# To enable create a API-Token in Sentry (User settings, API keys)
# Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options
# Then uncomment and customize the following block:
sentry: true
sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
sentry-project: "iobroker-sun2000-modbus"
sentry-version-prefix: "iobroker.sun2000-modbus"
sentry-sourcemap-paths: "build/"
# If your sentry project is linked to a GitHub repository, you can enable the following option
# sentry-github-integration: true
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ Read data from Huawei SUN2000 inverter and LUNA2000 Storage using Modbus TCP.
* `updateIntervalLow`: Slower update interval (default: 20 sec)

## Changelog
### 0.0.1 (2023-11-26)

### **WORK IN PROGRESS**

* (daolis) initial release

## License
Expand Down
2 changes: 1 addition & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"common": {
"name": "sun2000-modbus",
"version": "0.0.1",
"version": "0.0.0",
"news": {
"0.0.1": {
"en": "initial release",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.sun2000-modbus",
"version": "0.0.1",
"version": "0.0.0",
"description": "Connect to Huawei SUN2000 inverter with Modbus TCP",
"author": {
"name": "daolis",
Expand Down

0 comments on commit d253383

Please sign in to comment.