Skip to content

Commit

Permalink
💚 Fix release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandD committed Dec 3, 2024
1 parent da6fc45 commit 0c37428
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/generateReleaseNotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const GITMOJI_CATEGORIES = {
};

function generateReleaseNotes() {
const commits = execSync("git log --oneline $(git describe --tags --abbrev=0 @^)..@ --pretty=format:%s").toString().split("\n");
const commits = execSync("git log --oneline $(git describe --tags --abbrev=0 HEAD^)..HEAD --pretty=format:%s").toString().split("\n");

const categoryCommits = {};
Object.keys(GITMOJI_CATEGORIES).forEach((emoji) => {
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get tags
run: git fetch --tags origin
Expand Down

0 comments on commit 0c37428

Please sign in to comment.