Skip to content

Commit

Permalink
Pipeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-meckovski committed Sep 3, 2024
1 parent 7cfe109 commit dcab143
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ jobs:
PR_URL=$(echo "$FIRST_MERGE_REQUEST" | jq -r '.html_url')
TITLE=$(echo "$FIRST_MERGE_REQUEST" | jq -r '.title')
echo "$FIRST_MERGE_REQUEST"
echo "$DESCRIPTION"
echo "$AUTHOR"
echo "$PR_URL"
echo "$TITLE"
# Add version, description, author, PR URL, and title to CHANGELOG.md
sed -i "2i ## ${PACKAGE_VERSION} (${VAR_TIME})\n- Description: ${DESCRIPTION}\n- Author: ${AUTHOR}\n- Pull request URL: ${PR_URL}\n- Title: ${TITLE}\n" CHANGELOG.md
- name: Configure Git
Expand All @@ -57,14 +51,3 @@ jobs:
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm run build
npm publish
# AUTHOR=$(echo "$FIRST_MERGE_REQUEST" | jq -r '.user.login')
# TARGET_BRANCH=$(echo "$FIRST_MERGE_REQUEST" | jq -r '.base.ref')
# PR_URL=$(echo "$FIRST_MERGE_REQUEST" | jq -r '.html_url')
# TITLE=$(echo "$FIRST_MERGE_REQUEST" | jq -r '.title')

# sed -i "2i - Author: ${AUTHOR}" CHANGELOG.md
# sed -i "2i - Pull request URL: ${PR_URL}" CHANGELOG.md
# sed -i "2i - Target branch: ${TARGET_BRANCH}" CHANGELOG.md
# sed -i "2i - Title: ${TITLE}" CHANGELOG.md

0 comments on commit dcab143

Please sign in to comment.