File tree Expand file tree Collapse file tree 2 files changed +41
-12
lines changed
lib/node_modules/@stdlib/_tools/scripts Expand file tree Collapse file tree 2 files changed +41
-12
lines changed Original file line number Diff line number Diff line change @@ -101,18 +101,7 @@ jobs:
101
101
- name : ' Generate changelog for last month'
102
102
run : |
103
103
UNTIL=$(date +"%Y-%m-01")
104
- node -e "
105
- var generate = require( '@stdlib/_tools/changelog/generate' );
106
- var changelog = generate( '@stdlib', {
107
- 'flags': {
108
- 'since': '$UNTIL - 1 month',
109
- 'until': '$UNTIL'
110
- },
111
- 'format': 'aggregated'
112
- });
113
- console.log( changelog.content );
114
-
115
- " > ./www-blog-monthly-changelog/monthly_changelog_${UNTIL//-/_}.md
104
+ node lib/node_modules/@stdlib/_tools/scripts/generate_monthly_changelog.js > ./www-blog-monthly-changelog/monthly_changelog_${UNTIL//-/_}.md
116
105
117
106
# Import GPG key to sign commits:
118
107
- name : ' Import GPG key to sign commits'
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * @license Apache-2.0
5
+ *
6
+ * Copyright (c) 2025 The Stdlib Authors.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ */
20
+
21
+ /* eslint-disable no-console */
22
+
23
+ 'use strict' ;
24
+
25
+ // MODULES //
26
+
27
+ var generate = require ( '@stdlib/_tools/changelog/generate' ) ;
28
+
29
+
30
+ // MAIN //
31
+
32
+ var changelog = generate ( '@stdlib' , {
33
+ 'flags' : {
34
+ 'since' : '$UNTIL - 1 month' ,
35
+ 'until' : '$UNTIL'
36
+ } ,
37
+ 'format' : 'aggregated'
38
+ } ) ;
39
+
40
+ console . log ( changelog . content ) ;
You can’t perform that action at this time.
0 commit comments