@benshawmean/envedit 1.3.6 → 1.4.1-0
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.
- package/.gitlab-ci.yml +8 -7
- package/package.json +1 -1
- package/ci/assets.sh +0 -1
package/.gitlab-ci.yml
CHANGED
|
@@ -87,11 +87,13 @@ publish:
|
|
|
87
87
|
- bunx npm publish ${PUBLISH_FLAGS[*]} package.tgz
|
|
88
88
|
- sh ci/npm.sh
|
|
89
89
|
- bun publish ${PUBLISH_FLAGS[*]} package.tgz
|
|
90
|
-
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
|
|
91
|
+
- |
|
|
92
|
+
export GLAB_PACKAGE_URL=$(glab packages list --jq ".[-1]._links.web_path" | sed 's/^\///')
|
|
93
|
+
export VERSION_NUMBER=$(glab packages list --jq ".[-1].version")
|
|
94
|
+
|
|
95
|
+
echo "GLAB_PACKAGE_URL=$GLAB_PACKAGE_URL" >> variables.env
|
|
96
|
+
echo "VERSION_NUMBER=$VERSION_NUMBER" >> variables.env
|
|
95
97
|
artifacts:
|
|
96
98
|
reports:
|
|
97
99
|
dotenv: variables.env
|
|
@@ -113,7 +115,6 @@ release:
|
|
|
113
115
|
|
|
114
116
|
script:
|
|
115
117
|
- glab changelog generate > CHANGELOG.md
|
|
116
|
-
- sh ci/assets.sh
|
|
117
118
|
|
|
118
119
|
release:
|
|
119
120
|
name: "Release $CI_COMMIT_TAG"
|
|
@@ -122,7 +123,7 @@ release:
|
|
|
122
123
|
assets:
|
|
123
124
|
links:
|
|
124
125
|
- name: "General NPM Registry Release"
|
|
125
|
-
url: "https://www.npmjs.com/package
|
|
126
|
+
url: "https://www.npmjs.com/package/@$CI_PROJECT_PATH/v/$VERSION_NUMBER"
|
|
126
127
|
link_type: package
|
|
127
128
|
- name: "GitLab Package Registry Release"
|
|
128
129
|
url: "https://gitlab.com/$GLAB_PACKAGE_URL"
|
package/package.json
CHANGED
package/ci/assets.sh
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export GLAB_PACKAGE_URL=$(glab packages list --jq ".[-1]._links.web_path")
|