Skip to content

Commit

Permalink
fix: renamed and removing triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
davenewza committed Oct 25, 2023
1 parent 41be0a4 commit 414d6e4
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 47 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: New Release CLI
name: Release CLI

on:
workflow_dispatch:
inputs:
version:
description: "Keel version (tag)"
description: "Keel version to publish (tag)"
required: true
type: string
isPrerelease:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: New Release Packages
name: Publish NPM Packages

on:
workflow_dispatch:
inputs:
version:
description: "Keel version (tag)"
description: "Keel version to publish (tag)"
required: true
type: string
publishTag:
Expand Down Expand Up @@ -52,32 +52,24 @@ jobs:
fetch-depth: 0

- name: Install Go deps
if: inputs.publishTag != 'latest'
run: go mod download

- name: Generate wasm binary
if: ${{ matrix.package == 'wasm' && inputs.publishTag != 'latest' }}
if: ${{ matrix.package == 'wasm' }}
run: make wasm

- name: Install ${{ matrix.package }} publish dependencies
working-directory: ./packages/${{ matrix.package }}
run: pnpm install --frozen-lockfile

- name: "Update NPM version ${{ matrix.package }}"
if: inputs.publishTag != 'latest'
uses: reedyuk/[email protected]
with:
version: ${{ inputs.version }}
package: ./packages/${{ matrix.package }}

- name: NPM Publish ${{ matrix.package }}
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
tag: ${{ inputs.publishTag }}
package: ./packages/${{ matrix.package }}
dry-run: ${{ inputs.dryRun }}
strategy: upgrade
strategy: all
ignore-scripts: false
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Create Release
name: OLD Create Release

on:
workflow_call:
workflow_dispatch:
inputs:
branch:
description: "The branch to run the release on"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Initiate Pre-Release

on:
push:
branches:
- main
tags-ignore:
- "*"
#push:
# branches:
# - main
# tags-ignore:
# - "*"
workflow_dispatch:

jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: NPM Release
name: OLD NPM Release

on:
workflow_call:
workflow_dispatch:
inputs:
version:
description: "Release Version"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Make Pre Release
name: OLD Make Pre Release

on:
workflow_call:
workflow_dispatch:
inputs:
versionFormat:
description: "Ref of where the release should be marked"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Prepare Keel Release
name: OLD Prepare Keel Release

on:
workflow_dispatch:
Expand All @@ -16,20 +16,6 @@ on:
required: false
type: string
default: "main"
workflow_call:
inputs:
backendBranch:
description: "The backend branch that triggered this release"
required: true
type: string
preReleaseVersion:
description: "Pre Release Version to release"
required: true
type: string
releaseNotesUrl:
description: "URL to release notes for version"
required: false
type: string

jobs:
create_branch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Keel Release
name: OLD Publish Keel Release

on:
workflow_dispatch:
Expand All @@ -7,12 +7,6 @@ on:
description: "Release Version"
required: true
type: string
workflow_call:
inputs:
version:
description: "Release Version"
required: true
type: string

jobs:
setup:
Expand Down

0 comments on commit 414d6e4

Please sign in to comment.