Skip to content
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2111a4a
initial commit
jjhoughton Jul 6, 2019
2a6660a
returns all the things about an rsa key
jjhoughton Jul 6, 2019
97776de
package.json: change package name
jjhoughton Jul 6, 2019
e8f5235
add lgpl license
jjhoughton Jul 6, 2019
3d60bb9
add some x509 stuff
jjhoughton Jul 6, 2019
c30fa20
get public key from x509 cert
jjhoughton Jul 6, 2019
f9970b9
change the name of some files
jjhoughton Jul 6, 2019
3a66b85
add some missing files
jjhoughton Jul 6, 2019
8f44825
fix typo in error message
jjhoughton Jul 6, 2019
ef764c3
add readme
jjhoughton Jul 6, 2019
243fecd
sign copyright over to ripjar
jjhoughton Jul 7, 2019
9ed5dc5
consider the size of the cert/key before allocating memory
jjhoughton Jul 7, 2019
ec99d71
do a bit more error checking
jjhoughton Jul 7, 2019
7e4eddd
add the ability to specify a passphase for the private key (#2)
jjhoughton Nov 26, 2019
a9e37ba
fix rsa_st not being defined in node12
jjhoughton May 16, 2020
0e6d9ef
Get working on openssl 3.0
jjhoughton Jun 28, 2023
6c152fe
Updated minor version
adamjjeffery Mar 4, 2024
e91b97c
Added release workflow (#9)
adamjjeffery Mar 5, 2024
cc8b710
Automatically synchronising release.yml from develop to master
Mar 10, 2024
17fae10
Updates .github/workflows/release.yml with new #li-releases channel id
adamjjeffery Apr 30, 2024
c11f236
Updates .github/workflows/release.yml with new #li-releases channel id
adamjjeffery Apr 30, 2024
8f0f5c8
Merge pull request #11 from ripjar/master
jammie1903 Sep 12, 2024
ef1c03a
use middleman workflows
Jan 14, 2025
efb9017
Merge pull request #12 from ripjar/chore/use-middleman-workflows
adammartin-ripjar Jan 15, 2025
b089c34
Botjar: Merged branch develop into master
rj-bot-1 Jul 30, 2025
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
Prev Previous commit
Next Next commit
Automatically synchronising release.yml from develop to master
  • Loading branch information
botjar committed Mar 10, 2024
commit cc8b71045f0b1ce2a648bda0f6cffb2f74ddf839
84 changes: 84 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# **What it does:** Creates a release for the library, after checking there are changes that need releasing
# **Why we have it:** To automate the tagging the process
# **Who does it impact:** LI Engineering teams

name: Release Library

run-name: ${{ github.ref_name }}/${{ github.workflow }}

on:
workflow_dispatch:
inputs:
release_type:
type: choice
default: "minor"
description: Semantic Version
options:
- "major"
- "minor"
source_branch:
description: Source Branch
type: string
default: develop
required: true
base_branch:
description: Base Branch
type: string
default: master
required: true

jobs:

check-component-for-changes:
uses: ripjar/component-workflows/.github/workflows/check-node-component-for-changes.yaml@v2
with:
component_branch: ${{ inputs.source_branch }}
component_base_branch: ${{ inputs.base_branch }}
secrets: inherit

release-component:
uses: ripjar/component-workflows/.github/workflows/release-node-component.yaml@v2
needs: [ check-component-for-changes ]
if: needs.check-component-for-changes.outputs.is_release_required == '1'
with:
product: LI
node_version: 20
component_branch: ${{ inputs.source_branch }}
component_base_branch: ${{ inputs.base_branch }}
release_type: ${{ inputs.release_type }}
secrets: inherit

extract-version:
runs-on: arc
if: always()
needs: [ release-component ]
outputs:
version: ${{ steps.package_version.outputs.VERSION }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
ref: ${{ inputs.base_branch }}
- name: Get version from package.json
id: package_version
run: echo "::set-output name=VERSION::$(jq -r '.version' package.json)"
shell: bash

bump-component-version:
uses: ripjar/component-workflows/.github/workflows/bump-node-component-version.yaml@v2
needs: [ release-component ]
secrets: inherit
with:
component_branch: ${{ inputs.source_branch }}

notify:
needs: [check-component-for-changes, release-component, extract-version, bump-component-version]
if: always()
uses: ripjar/li-ci-cd/.github/workflows/li-release-notify.yaml@develop
secrets: inherit
with:
repository_name: ${{ github.repository }}
is_release_required: ${{ needs.check-component-for-changes.outputs.is_release_required }}
release_result: ${{ needs.release-component.result }}
version: ${{ needs.extract-version.outputs.version }}
channel_id: 'C019Q1F40SX'