-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into xlin-sshnoports-400
- Loading branch information
Showing
152 changed files
with
7,158 additions
and
3,998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: verify_cli_tags | ||
description: | | ||
Ensures that the tag of sshnoports matches the tag of the git ref. | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Ensure pubspec.yaml matches git ref (if current git ref is a version tag) | ||
shell: bash | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
working-directory: ./packages/sshnoports | ||
run: | | ||
REF=${{ github.ref }} | ||
TAG=${REF:10} | ||
PUBSPEC_TAG="v$(egrep -o '^version: (.*)$' pubspec.yaml | cut -d':' -f2 | tr -d '[:space:]')" | ||
if [ "$TAG" != "$PUBSPEC_TAG" ]; then | ||
echo "Tag $TAG does not match version in pubspec.yaml: $PUBSPEC_TAG" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.