Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45291,7 +45291,10 @@ class DeltaCommand extends GenericCommand {
deltaFs.writeTextFile(`release_notes.md`);
}
else {
const timestamp = new Date();
const releaseTs = process.env.RELEASE_TIMESTAMP;
const timestamp = releaseTs
? (() => { const m = releaseTs.match(/^(\d{4}-\d{2}-\d{2})_(\d{2})00Z$/); return m ? new Date(`${m[1]}T${m[2]}:00:00Z`) : new Date(); })()
: new Date();
const delta = await git_Git.newDeltaFromGitHistory(options.start);
// console.log(`delta=${JSON.stringify(delta, null, 2)}`);
console.log(delta.toText());
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
skip_unpack: true
if_no_artifact_found: fail
- name: build delta files
env:
RELEASE_TIMESTAMP: ${{ needs.generate-name.outputs.v_current_run_timestamp }}
run: |
ls ./.github/workflows/dist
node ./.github/workflows/dist/index.js delta
Expand Down