Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug** \
*A clear and concise description of what the bug is.*

**To Reproduce** \
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior** \
*A clear and concise description of what you expected to happen.*

**Actual Behaviour**

**Screenshots** \
*If applicable, add screenshots to help explain your problem.*

**Device information:** \
- Device: [e.g. Samsung Galaxy A26]
- Android version: [e.g. Android 15]
- Screen size: [e.g. 720x1612]

**Possible Solution** \
*Any obvious solution to the problem*

**Additional context**
*Add any other context about the problem here.*
25 changes: 25 additions & 0 deletions .github/workflows/validate_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Validate version
description: Ensures version in pubspec.yaml is not an active release

on:
pull_request:
branches:
- main

jobs:
validate:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install jq
uses: dcarbone/install-jq-action@v3.2.0
- name: Validate version
run: |
VERSION=$(grep '^version:' pubspec.yaml | cut -d ' ' -f2 | cut -d '+' -f1)
if wget -qO- https://api.github.com/repos/drsoliddevil/vidar/tags | jq -r '.[].name' | grep -q "^v$VERSION$"; then
echo "Tag v$VERSION already exists."
exit 1
else
echo "Tag v$VERSION does not exist yet. Proceeding."
fi
Loading