-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
Hi,
This my semantic release yml file but its not version and new-release published as true.
`steps:
- uses: actions/checkout@v2
- name: create version doc
run: |
echo "{git-sha: "$(git log -1 --format="%H")",version: "$(git ls-remote --tags --sort='v:refname' | tail -n1 | sed 's/.*///; s/^{}//')"}" > ./public/aavplus/version.json
cat ./public//version.json
- uses: actions/setup-node@v1
with:
node-version: 16.x
- name: validate before release
run: |
npx --yes npm@8.5.5 ci --no-save
npm run build
env:
NPM_PKG_TOKEN: ${{ secrets.NPM_PKG_TOKEN }}
CI: true
- name: semantic release
run: npx semantic-release@19.0.5
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: update version doc
run: |
echo "$NEW_CHANGE"
echo $NEW_CHANGE
echo ${{ steps.semantic.outputs.new-release-published }}
echo "{git-sha: \"$(git log -1 --format="%H")\",version: \"$VERSION_TAG\"}" > ./public/aavplus/version.json
cat ./public//version.json
env:
VERSION_TAG: v${{ steps.semantic.outputs.release-version }}. ---> **Empty**
NEW_CHANGE: ${{ steps.semantic.outputs.new-release-published }}` --> **Empty**
Yrobot, marianheinsen, lampask and bmasetto
Metadata
Metadata
Assignees
Labels
No labels