Skip to content

Update badges workflow is not working #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jtyoung84 opened this issue Sep 18, 2024 · 0 comments
Open

Update badges workflow is not working #3

jtyoung84 opened this issue Sep 18, 2024 · 0 comments
Assignees

Comments

@jtyoung84
Copy link
Contributor

Describe the bug

Run python_version=$(grep "requires-python" pyproject.toml | grep -o ">=[^\"]*")
  python_version=$(grep "requires-python" pyproject.toml | grep -o ">=[^\"]*")
  python_badge=$(grep -o 'python-[^)]*' README.md)
  new_python_badge="python-$python_version-blue?logo=python"
  sed -i "s/$python_badge/$new_python_badge/g" README.md
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/AllenNeuralDynamics/aind-smartsheet-api/actions/runs/10930916817/job/30344848244#step:5:3).8.18/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x6[4](https://github.com/AllenNeuralDynamics/aind-smartsheet-api/actions/runs/10930916817/job/30344848244#step:5:4)/lib
sed: -e expression #1, char 31: unterminated `s' command
Error: Process completed with exit code 1.Run python_version=$(grep "requires-python" pyproject.toml | grep -o ">=[^\"]*")
  python_version=$(grep "requires-python" pyproject.toml | grep -o ">=[^\"]*")
  python_badge=$(grep -o 'python-[^)]*' README.md)
  new_python_badge="python-$python_version-blue?logo=python"
  sed -i "s/$python_badge/$new_python_badge/g" README.md
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/AllenNeuralDynamics/aind-smartsheet-api/actions/runs/10930916817/job/30344848244#step:5:3).8.18/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x6[4](https://github.com/AllenNeuralDynamics/aind-smartsheet-api/actions/runs/10930916817/job/30344848244#step:5:4)/lib
sed: -e expression #1, char 31: unterminated `s' command
Error: Process completed with exit code 1.Run python_version=$(grep "requires-python" pyproject.toml | grep -o ">=[^\"]*")
  python_version=$(grep "requires-python" pyproject.toml | grep -o ">=[^\"]*")
  python_badge=$(grep -o 'python-[^)]*' README.md)
  new_python_badge="python-$python_version-blue?logo=python"
  sed -i "s/$python_badge/$new_python_badge/g" README.md
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/AllenNeuralDynamics/aind-smartsheet-api/actions/runs/10930916817/job/30344848244#step:5:3).8.18/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x6[4](https://github.com/AllenNeuralDynamics/aind-smartsheet-api/actions/runs/10930916817/job/30344848244#step:5:4)/lib
sed: -e expression #1, char 31: unterminated `s' command
Error: Process completed with exit code 1.

To Reproduce
Steps to reproduce the behavior:

  1. Go to actions
  2. Click on tag_and_publish workflow
  3. See error

Expected behavior
The update_badges workflow should update the README badges correctly.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants