Skip to content

Commit

Permalink
Fix svn deploy failure (#177)
Browse files Browse the repository at this point in the history
* Ensure to install svn before wp deployment

* Update tested up to

* Update bundle.ts

* Add changelog
  • Loading branch information
irshadahmad21 authored Oct 15, 2024
1 parent f322ca9 commit 3c61709
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .changeset/five-years-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"wptelegram": patch
"wptelegram-comments": patch
"wptelegram-login": patch
"wptelegram-widget": patch
---

Fixed the last failed deployment
3 changes: 3 additions & 0 deletions .github/workflows/deploy-wp-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
files: "dist/${{ fromJson(needs.details.outputs.result).relativeDir }}-${{ fromJson(needs.details.outputs.result).version }}.zip"
repo-token: ${{ secrets.ACCESS_TOKEN_IR }}

- name: Install svn
run: sudo apt-get install subversion

- name: Deploy to WordPress.org
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
Expand Down
2 changes: 1 addition & 1 deletion config/wpdev.base.project.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const getBundleConfig = ({ slug, key, version, textDomain }) => {
requirements: {
requiresPHP: '7.4',
requiresAtLeast: '6.4',
testedUpTo: '6.6.1',
testedUpTo: '6.6.2',
},
target: {
files: [
Expand Down
2 changes: 1 addition & 1 deletion tools/wpdev/src/commands/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default class Bundle extends WithProjects<typeof Bundle> {
concurrent: true,
});

for (const [name, project] of this.projects) {
for (const [_, project] of this.projects) {
tasks.add({
title: `Preparing ${project.packageJson.name}`,
task: async (_, task) => {
Expand Down

0 comments on commit 3c61709

Please sign in to comment.