Skip to content

Commit

Permalink
Break dependency between Rockcraft and Snapcraft (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
rudra-iitm authored Dec 9, 2024
1 parent 306490c commit 8291ef5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ runs:
echo "IS_CHANGE=true" >> $GITHUB_ENV
if [ -n "$YAML_PATH" ]; then
mv output_file $YAML_PATH
elif [ -f rockcraft.yaml ]; then
mv output_file rockcraft.yaml
elif [ -d snap ]; then
mv output_file snap/snapcraft.yaml
else
Expand Down
6 changes: 0 additions & 6 deletions updatesnap/updatesnapyaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ def get_yaml_file(self, project_url, yaml_path):
data = self._github.get_file(project_url, yaml_path)
except (ValueError, ConnectionError):
data = None
if not data:
yaml_path = 'rockcraft.yaml'
try:
data = self._github.get_file(project_url, yaml_path)
except (ValueError, ConnectionError):
data = None
return data


Expand Down

0 comments on commit 8291ef5

Please sign in to comment.