Skip to content

Commit

Permalink
Merge pull request #8 from sebastian-meckovski/test
Browse files Browse the repository at this point in the history
CI/CD Pipeline implemented
  • Loading branch information
sebastian-meckovski authored Sep 3, 2024
2 parents ffa7daf + a16e74c commit 3f422ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,15 @@ jobs:
VAR_TIME=$(date '+%Y-%m-%d')
API_RESPONSE=$(curl --request GET "https://api.github.com/repos/sebastian-meckovski/Seb-Storybook/pulls?state=closed" --header "PRIVATE-TOKEN: ${{ secrets.AUTO_VERSION_TOKEN }}")
FIRST_MERGE_REQUEST=$(echo "$API_RESPONSE" | jq -r '.[0]')
DESCRIPTION=$(echo "$FIRST_MERGE_REQUEST" | jq -r '.body')
AUTHOR=$(echo "$FIRST_MERGE_REQUEST" | jq -r '.user.login')
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"
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
git status
- name: Configure Git
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
Test


test

0 comments on commit 3f422ab

Please sign in to comment.