Skip to content

Commit

Permalink
Release v1.1.2 (#11)
Browse files Browse the repository at this point in the history
- ci: update publish script to call setup
  • Loading branch information
msimerson authored Mar 15, 2024
1 parent 06f99ec commit 1aecf4b
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 4 deletions.
51 changes: 48 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,51 @@ env:
CI: true

jobs:
publish:
uses: haraka/.github/.github/workflows/publish.yml@master
secrets: inherit
build:
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
steps:
- uses: actions/setup-node@v4
- uses: actions/checkout@v4
- run: npm install
- run: sudo ./test/fixtures/linux/setup.sh
- run: npm test

publish-npm:
needs: [ build ]
runs-on: ubuntu-latest
environment: npm
steps:
- uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
- uses: actions/checkout@v4
- name: publish to NPM
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

publish-gpr:
needs: [ build ]
runs-on: ubuntu-latest
environment: ghpm
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
with:
registry-url: https://npm.pkg.github.com/
scope: "@haraka"
- name: rename package with @haraka scope
run: node .release/npm/prepend-scope.cjs @haraka
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
### Unreleased


### [1.1.2] - 2024-03-15

- ci: customized publish script

#### 1.1.1 - 2024-03-15

- config: comment out default server entries, fixes #9
Expand Down Expand Up @@ -38,3 +43,4 @@
- include all ops in config

[1.1.1]: https://github.com/haraka/haraka-plugin-ldap/releases/tag/1.1.1
[1.1.2]: https://github.com/haraka/haraka-plugin-ldap/releases/tag/1.1.2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haraka-plugin-ldap",
"version": "1.1.1",
"version": "1.1.2",
"description": "Haraka plugin for LDAP",
"main": "index.js",
"directories": {},
Expand Down

0 comments on commit 1aecf4b

Please sign in to comment.