From 8955348f6145b386f09c529d5dd5742d396e304e Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 16 Apr 2020 08:04:09 -0400 Subject: [PATCH] Revert "Add support for prepending Koha version to plugin version" This reverts commit bc804fb864df6382432870371df93e030a19049e. --- README.md | 5 ----- action.yml | 1 - entrypoint.sh | 6 ------ 3 files changed, 12 deletions(-) diff --git a/README.md b/README.md index d496b14..e5309af 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,6 @@ The file will be in your GitHub workspace after the action is run. **Required** Name of plugin, should almost always be the repo name, e.g. `koha-plugin-kitchen-sink` -### `koha-version` - -**Optional** Major and minor version of Koha. If this is passed in, it will be prepended to the plugin version - ## Outputs ### `filename` @@ -32,7 +28,6 @@ The name of the built kpz file with: release-version: ${{ steps.semvers.outputs.v_patch }} release-name: ${{ steps.myvars.outputs.GITHUB_REPO }} - koha-version: 19.11 ``` Take a look at https://github.com/bywatersolutions/koha-plugin-kitchen-sink/blob/master/.github/workflows/main.yml for a real world usage. diff --git a/action.yml b/action.yml index 3f61c2d..b2b1eb0 100644 --- a/action.yml +++ b/action.yml @@ -19,4 +19,3 @@ runs: args: - ${{ inputs.release-version }} - ${{ inputs.release-name }} - - ${{ inputs.koha-version }} diff --git a/entrypoint.sh b/entrypoint.sh index 9d5e7f2..7181fa0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,11 +2,6 @@ PLUGIN_VERSION=$1 PLUGIN_NAME=$2 -KOHA_VERSION=$3 - -if [ -z "$KOHA_VERSION" ] - PLUGIN_VERSION="$KOHA_VERSION.$PLUGIN_VERSION" -fi RELEASE_FILENAME="${PLUGIN_NAME}-${PLUGIN_VERSION}.kpz" TODAY_ISO=$(date '+%Y-%m-%d') @@ -32,7 +27,6 @@ zip -r ../${RELEASE_FILENAME} ./Koha cd .. rm -rf dist -echo "KOHA VERSION: $KOHA_VERSION" echo "PLUGIN VERSION: $PLUGIN_VERSION" echo "PLUGIN NAME: $PLUGIN_NAME" echo "TODAY ISO: $TODAY_ISO"