Skip to content

Commit

Permalink
fix: corrected main file name in ci github workflow (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianramirez2 authored Oct 13, 2023
1 parent 5716371 commit 340a151
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
with:
find: "Version: *[0-9.]*"
replace: "Version: ${{ steps.tag_version.outputs.new_version }}"
include: "openedx-woocommerce-plugin.php"
include: "openedx-ecommerce.php"

- name: Update php file version - define statement
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "(define\\( 'OPENEDX_WOOCOMMERCE_PLUGIN_VERSION', ')([^']*)(.*);"
replace: "define( 'OPENEDX_WOOCOMMERCE_PLUGIN_VERSION', '${{ steps.tag_version.outputs.new_version }}' );"
include: "openedx-woocommerce-plugin.php"
include: "openedx-ecommerce.php"

- name: Update README version
uses: jacobtomlinson/gha-find-replace@v3
Expand All @@ -60,7 +60,7 @@ jobs:
with:
branch: ${{ github.ref }}
commit_message: "docs(bumpversion): ${{ steps.tag_version.outputs.previous_tag }} → ${{ steps.tag_version.outputs.new_tag }}"
file_pattern: README.txt CHANGELOG.md openedx-woocommerce-plugin.php
file_pattern: README.txt CHANGELOG.md openedx-ecommerce.php

release:
needs: bumpversion
Expand Down

0 comments on commit 340a151

Please sign in to comment.