@devopsplaybook.io/otel-utils 1.0.7-beta.6.fccf439 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -76,42 +76,3 @@ jobs:
|
|
|
76
76
|
npm publish
|
|
77
77
|
env:
|
|
78
78
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
79
|
-
|
|
80
|
-
- name: Create Git Tag
|
|
81
|
-
if: steps.version-check.outputs.version-exists == 'false'
|
|
82
|
-
run: |
|
|
83
|
-
git config --local user.email "action@github.com"
|
|
84
|
-
git config --local user.name "GitHub Action"
|
|
85
|
-
git tag -a v${{ steps.version-check.outputs.current-version }} -m "Release v${{ steps.version-check.outputs.current-version }}"
|
|
86
|
-
git push origin v${{ steps.version-check.outputs.current-version }}
|
|
87
|
-
|
|
88
|
-
- name: Create GitHub Release
|
|
89
|
-
if: steps.version-check.outputs.version-exists == 'false'
|
|
90
|
-
uses: actions/create-release@v1.1.4
|
|
91
|
-
env:
|
|
92
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
93
|
-
with:
|
|
94
|
-
tag_name: v${{ steps.version-check.outputs.current-version }}
|
|
95
|
-
release_name: Release v${{ steps.version-check.outputs.current-version }}
|
|
96
|
-
draft: false
|
|
97
|
-
prerelease: false
|
|
98
|
-
body: |
|
|
99
|
-
## Release v${{ steps.version-check.outputs.current-version }}
|
|
100
|
-
|
|
101
|
-
**Package**: `@devopsplaybook.io/otel-utils@${{ steps.version-check.outputs.current-version }}`
|
|
102
|
-
|
|
103
|
-
Install with:
|
|
104
|
-
```bash
|
|
105
|
-
npm install @devopsplaybook.io/otel-utils@${{ steps.version-check.outputs.current-version }}
|
|
106
|
-
# or for latest
|
|
107
|
-
npm install @devopsplaybook.io/otel-utils
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
### Changes
|
|
111
|
-
This release includes all changes merged since the previous version.
|
|
112
|
-
|
|
113
|
-
- name: Skip publish - version exists
|
|
114
|
-
if: steps.version-check.outputs.version-exists == 'true'
|
|
115
|
-
run: |
|
|
116
|
-
echo "⚠️ Version ${{ steps.version-check.outputs.current-version }} already exists on npm."
|
|
117
|
-
echo "To publish a new version, update the version in package.json first."
|