Skip to content

Commit

Permalink
Merge pull request #131 from manisha-backbase/fix/labeler-test
Browse files Browse the repository at this point in the history
updated transactions bug fix
  • Loading branch information
manisha-backbase authored Apr 18, 2023
2 parents 1cd4224 + 9da7129 commit 4156671
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
template: |
# What's Changed
$CHANGES
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
tag-prefix: v
categories:
- title: 'Added'
labels:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
steps:
- uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
config-name: release-drafter-transactions.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -88,7 +88,7 @@ jobs:
steps:
- uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
config-name: release-drafter-transfer.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,23 @@ jobs:
- name: 'Extract project from tag'
id: set-project-from-tag
run: |
version=$(echo "${{ github.event.release.tag_name }}" | awk -F"v" '{print $1}')
echo "extract project: ${{ github.event.release.tag_name }}, ${version}"
module=$(echo "${{ github.event.release.tag_name }}" | awk -F"@v" '{print $1}')
version=$(echo "${{ github.event.release.tag_name }}" | awk -F"@v" '{print $2}')
echo "extract project: ${{ github.event.release.tag_name }}, ${module}, ${version}"
echo "module=$module" >> $GITHUB_OUTPUT
echo "version=$version" >> $GITHUB_OUTPUT
- name: 'Bump'
run: cd libs/transfer &&
if: ${{ steps.set-project-from-tag.outputs.module }} && ${{ steps.set-project-from-tag.outputs.version }}
run: cd libs/${{ steps.set-project-from-tag.outputs.module }} &&
npm version ${{ steps.set-project-from-tag.outputs.version }}

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ steps.set-project-from-tag.outputs.version}}
release-notes: ${{ github.event.release.body }}
path-to-changelog: 'CHANGELOG.md'
path-to-changelog: 'libs/${{ steps.set-project-from-tag.outputs.module }}/CHANGELOG.md'

# - name: Build and publish
# run: npm run build && cd dist/libs/${{ steps.set-project-from-tag.outputs.module }} && npm publish
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class TransactionItemComponent implements OnChanges {
}

ngOnChanges(changes: SimpleChanges): void {
console.log("changes1008");
console.log("changes100");
if (changes['transaction']) {
this.amount = Number(
this.transaction.transactionAmountCurrency.amount ?? 0
Expand Down

0 comments on commit 4156671

Please sign in to comment.