Skip to content

Commit

Permalink
use description file instead of json
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Oct 2, 2024
1 parent 2de7a3e commit fa5ab63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ jobs:
docker pull localhost:5000/$dock_image
docker tag localhost:5000/$dock_image $dock_image
script=$(docker inspect --format '{{ (index .Config.Cmd 0) }}' $dock_image)
docker run --rm $dock_image $script --json > /tmp/description.json
json="$(docker run --rm $dock_image $script --json)"
# Escape single quotes
json_escaped=$(echo "$json" | sed "s/'/\\'/g")
Expand All @@ -143,7 +144,7 @@ jobs:
if: github.ref_type == 'tag'
uses: FNNDSC/upload-chris-plugin@main
with:
description_json: ${{ steps.pluginmeta.outputs.json }}
description_file: /tmp/description.json
username: ${{ secrets.CHRISPROJECT_USERNAME }}
password: ${{ secrets.CHRISPROJECT_PASSWORD }}
chris_url: https://cube.chrisproject.org/api/v1/
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name = 'topologicalcopy',
version = '1.0.5',
version = '1.0.6',
description = 'A plugin ts app to copy filtered output dirs from a list of plugin instances',
long_description = readme,
author = 'FNNDSC',
Expand Down

0 comments on commit fa5ab63

Please sign in to comment.