Skip to content

Commit

Permalink
Remove redundant bin scripts in the wpcomsh plugin. (#37880)
Browse files Browse the repository at this point in the history
* Removing obsolete scripts and makefile targets.

* Changelog.
  • Loading branch information
zinigor authored Jun 14, 2024
1 parent 8749d20 commit 871ae37
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 166 deletions.
12 changes: 2 additions & 10 deletions projects/plugins/wpcomsh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,8 @@ i18n:
@ git commit $(BUILD_SRC)/languages -m "Update language files"

## tag
tag: checkbeforetag
$(shell git tag v$(PLUGIN_VERSION_STRING))
@ echo "tag v$(PLUGIN_VERSION_STRING) added."
@ echo $(PUSH_TAG)
ifeq ($(PUSH_RELEASE_TAG), true)
$(shell git push $(GIT_REMOTE_NAME) v$(PLUGIN_VERSION_STRING))
@ echo "tag pushed to $(GIT_REMOTE_NAME)."
else
@ echo "run 'git push $(GIT_REMOTE_NAME) v$(PLUGIN_VERSION_STRING)' before creating the release"
endif
tag:
@ echo "This script is disabled, please use the 'tools/release-plugin.sh wpcomsh' script from the Monorepo root."

## CI & other testing
test-public-access: build
Expand Down
62 changes: 0 additions & 62 deletions projects/plugins/wpcomsh/bin/create-github-release.sh

This file was deleted.

36 changes: 0 additions & 36 deletions projects/plugins/wpcomsh/bin/update-version.php

This file was deleted.

54 changes: 0 additions & 54 deletions projects/plugins/wpcomsh/bin/update-version.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: removed

Removed obsolete scripts and makefile targets.
2 changes: 1 addition & 1 deletion projects/plugins/wpcomsh/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"composer/installers": true,
"roots/wordpress-core-installer": true
},
"autoloader-suffix": "26841ac2064774301cbe06d174833bfc_wpcomshⓥ3_22_14"
"autoloader-suffix": "26841ac2064774301cbe06d174833bfc_wpcomshⓥ3_22_15_alpha"
},
"extra": {
"mirror-repo": "Automattic/wpcom-site-helper",
Expand Down
2 changes: 1 addition & 1 deletion projects/plugins/wpcomsh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@automattic/jetpack-wpcomsh",
"description": "A helper for connecting WordPress.com sites to external host infrastructure.",
"homepage": "https://jetpack.com",
"version": "3.22.14",
"version": "3.22.15-alpha",
"bugs": {
"url": "https://github.com/Automattic/jetpack/labels/[Plugin] Wpcomsh"
},
Expand Down
4 changes: 2 additions & 2 deletions projects/plugins/wpcomsh/wpcomsh.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
/**
* Plugin Name: WordPress.com Site Helper
* Description: A helper for connecting WordPress.com sites to external host infrastructure.
* Version: 3.22.14
* Version: 3.22.15-alpha
* Author: Automattic
* Author URI: http://automattic.com/
*
* @package wpcomsh
*/

// Increase version number if you change something in wpcomsh.
define( 'WPCOMSH_VERSION', '3.22.14' );
define( 'WPCOMSH_VERSION', '3.22.15-alpha' );

// If true, Typekit fonts will be available in addition to Google fonts
add_filter( 'jetpack_fonts_enable_typekit', '__return_true' );
Expand Down

0 comments on commit 871ae37

Please sign in to comment.