Skip to content

Commit

Permalink
Minor CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname committed May 14, 2024
1 parent 60bd9d9 commit 5924d8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/node-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Check for package changes and commit message
id: check_changes
run: |
if [[ "${{ github.event_name }}" == "release" ]]
then
TAG_NAME=${GITHUB_REF#refs/tags/}
if [[ $TAG_NAME == "node/"* ]]
if [[ $TAG_NAME == "node-concordium/"* ]]
then
echo "changes_found=true" >> "$GITHUB_OUTPUT"
else
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
if [ -n "${{ github.event.head_commit.message }}" ]
then
echo "commit-message=${{ github.event.head_commit.message }}" >> "$GITHUB_OUTPUT"
echo "commit-message=\"${{ github.event.head_commit.message }}\"" >> "$GITHUB_OUTPUT"
else
echo "commit-message=\"$(git log -1 --pretty=%B | head -n 1)\"" >> "$GITHUB_OUTPUT"
fi
Expand Down
2 changes: 2 additions & 0 deletions scripts/update_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ for dir in packages/*; do
if [ -d "$dir" ] && [[ $(git ls-files "$dir") ]]; then
prepare_package_release "$dir"
fi

git add .yarn/versions
done

# prepare_package_release "$1"

0 comments on commit 5924d8e

Please sign in to comment.