File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 cd src/oslc-postmessage-helper
6868
6969 # Create a pre-release version for main branch builds
70- BASE_VERSION=$(npm pkg get version | tr -d '"' )
70+ BASE_VERSION=$(npm pkg get version --workspace . | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' | head -n 1 )
7171 COMMIT_SHA=$(echo ${{ github.sha }} | cut -c1-7)
7272 DEV_VERSION="${BASE_VERSION}-dev.${COMMIT_SHA}"
7373 echo "Creating development build: $DEV_VERSION"
8585 cd src/oslc-selection-webcomponent
8686
8787 # Create a pre-release version for main branch builds
88- BASE_VERSION=$(npm pkg get version | tr -d '"' )
88+ BASE_VERSION=$(npm pkg get version --workspace . | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' | head -n 1 )
8989 COMMIT_SHA=$(echo ${{ github.sha }} | cut -c1-7)
9090 DEV_VERSION="${BASE_VERSION}-dev.${COMMIT_SHA}"
9191 echo "Creating development build: $DEV_VERSION"
You can’t perform that action at this time.
0 commit comments