Skip to content

Commit

Permalink
add print next steps in task new
Browse files Browse the repository at this point in the history
  • Loading branch information
audacioustux committed Oct 17, 2023
1 parent dabdb3a commit cdf762f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/new.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ jq \
# update github workflow to include feature in matrix
TEST_WORKFLOW_FILE=".github/workflows/test.yaml"
echo "update: add feature($FEATURE_ID) to matrix in $TEST_WORKFLOW_FILE"
yq e '.jobs.test-scenarios.strategy.matrix.features += strenv(FEATURE_ID)' -i $TEST_WORKFLOW_FILE
yq e '.jobs.test-scenarios.strategy.matrix.features += strenv(FEATURE_ID)' -i $TEST_WORKFLOW_FILE

# print next steps
echo "Feature $FEATURE_ID created"
echo "edit src/$FEATURE_ID/install.sh"
echo "edit test/$FEATURE_ID/available_for_nonroot_user.sh"

0 comments on commit cdf762f

Please sign in to comment.