Skip to content

Commit

Permalink
ci: update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
levinzonr committed Mar 27, 2024
1 parent aeb25cc commit 6ba9ba9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
run: |
file="gradle.properties"
# Check if the file exists
if [ ! -f "$file" ]; then
echo "$file does not exist."
if [ ! -f "gradle.properties" ]; then
echo "gradle.properties does not exist."
exit 1
fi
# Append -SNAPSHOT to the VERSION_NAME
sed -i '' -e '/VERSION_NAME/s/$/-SNAPSHOT/' "$file"
sed -i '' -e '/VERSION_NAME/s/$/-SNAPSHOT/' "gradle.properties"
# Publish the plugin to the Sonatype snapshot repository
- name: Publish Snapshot
Expand Down

0 comments on commit 6ba9ba9

Please sign in to comment.