From d047a8a88306547a5c3d274896439966dff9a3d3 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Jul 23 2018 17:21:06 +0000 Subject: Update README Update README to reflect new repository locations and simplify existing commands. Also fix typos. --- diff --git a/README.md b/README.md index 1f87097..81020a5 100644 --- a/README.md +++ b/README.md @@ -32,17 +32,14 @@ Please report any issues here, via *New Issue*. - To build in dotnet-sig copr, ask an admin of dotnet-sig for permissions. -2. Fork [the dotnet-sig repo](https://pagure.io/fedora-dotnet) via +2. Fork [the dotnet-2-0 repo](https://pagure.io/dotnet-sig/dotnet-2-0) via copr. You should now have a repo with the web url - https://pagure.io/fork/$USER/fedora-dotnet + https://pagure.io/fork/$USER/dotnet-sig/dotnet-2-0 3. Checkout the forked repository - - `git clone ssh://git@pagure.io/forks/$USER/fedora-dotnet.git` - - `cd fedora-dotnet` - - `git checkout f26` - - Use the most appropriate branch name, but f26 is where the action is right now + - `git clone ssh://git@pagure.io/forks/$USER/dotnet-sig/dotnet-2-0.git + - `cd dotnet-2-0` 4. Bump version/release in the spec file. Add a Changelog. Make sure the `Source` tag corresponds to the new tarball name, if there is a @@ -50,7 +47,7 @@ Please report any issues here, via *New Issue*. 5. Do local builds - - `fedpkg --dist $YOUR_FEDORA_VERSION --module-name dotnet local` + - `fedpkg --dist $YOUR_FEDORA_VERSION local` Where the version can be, for example, f27. Fix any errors that come up and rebuild until it works locally. @@ -66,10 +63,10 @@ Please report any issues here, via *New Issue*. 7. Commit the changes to the git repo and do a build on copr. - `git add # any new files, such as new patches` - - `git remote # old files, such as old patches` + - `git remove # old files, such as old patches` - `git commit -a` - `git push` - - `fedpkg --release f26 --module-name dotnet srpm` + - `fedpkg dotnet srpm` - `copr-cli build @dotnet-sig/dotnet ` 8. If it fails, update spec file/patches and rebuild with the same set @@ -94,4 +91,4 @@ Please report any issues here, via *New Issue*. - `dotnet new console -o ConsoleApplication` - `dotnet run` - - `dotnet public -c Release -r linux-x64` + - `dotnet publish -c Release -r linux-x64`