Use root version for dev release workflow
This commit is contained in:
8
.github/workflows/dev-release.yml
vendored
8
.github/workflows/dev-release.yml
vendored
@@ -2,11 +2,6 @@ name: Dev Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
|
||||||
base_version:
|
|
||||||
description: "Base semver (e.g. 1.2.3)"
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -32,9 +27,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Compute dev versions
|
- name: Compute dev versions
|
||||||
id: versions
|
id: versions
|
||||||
env:
|
|
||||||
BASE_VERSION: ${{ inputs.base_version }}
|
|
||||||
run: |
|
run: |
|
||||||
|
BASE_VERSION=$(node -p "require('./package.json').version")
|
||||||
DEV_VERSION="${BASE_VERSION}-dev"
|
DEV_VERSION="${BASE_VERSION}-dev"
|
||||||
TIMESTAMP=$(date -u +%y%m%d-%H%M)
|
TIMESTAMP=$(date -u +%y%m%d-%H%M)
|
||||||
TAG="v${DEV_VERSION}-${TIMESTAMP}"
|
TAG="v${DEV_VERSION}-${TIMESTAMP}"
|
||||||
|
|||||||
Reference in New Issue
Block a user